Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009304/0.0009304, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000909/0.0009088, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.015/1.015, allocations: 135.2 MB / 426.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003417, allocations: 8 kB / 0.5069 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1969, allocations: 82.32 MB / 0.5873 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004706/0.2016, allocations: 3.511 MB / 0.5907 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5043/0.7059, allocations: 127.5 MB / 0.7152 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008632/0.7068, allocations: 17.19 kB / 0.7152 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004673/0.7073, allocations: 75.66 kB / 0.7153 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002427/0.7098, allocations: 467.7 kB / 0.7158 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00334/0.7131, allocations: 0.6268 MB / 0.7164 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002174/0.7153, allocations: 0.7505 MB / 0.7171 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.7168, allocations: 0.5325 MB / 0.7176 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009955/0.7178, allocations: 312.8 kB / 0.7179 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008847/0.7187, allocations: 300.6 kB / 0.7182 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000228/0.719, allocations: 25.31 kB / 0.7182 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.7206, allocations: 326.9 kB / 0.7185 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003852/0.721, allocations: 163.7 kB / 0.7187 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003689/0.7214, allocations: 187.3 kB / 0.7189 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002694/0.7241, allocations: 1.14 MB / 0.72 GB, free: 12.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.7241, allocations: 0 / 0.72 GB, free: 12.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.003e-06/0.7241, allocations: 0 / 0.72 GB, free: 12.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.526e-05/0.7242, allocations: 1.125 kB / 0.72 GB, free: 12.96 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.004377/0.7286, allocations: 1.194 MB / 0.7212 GB, free: 12.13 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.7286, allocations: 10.3 kB / 0.7212 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005352/0.7292, allocations: 144 kB / 0.7213 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002351/0.7316, allocations: 214.3 kB / 0.7215 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002408/0.734, allocations: 0.7024 MB / 0.7222 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.7341, allocations: 66.45 kB / 0.7223 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003073/0.7345, allocations: 91.41 kB / 0.7223 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004055/0.7385, allocations: 0.9376 MB / 0.7233 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/0.7386, allocations: 4 kB / 0.7233 GB, free: 11.01 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002209/0.7389, allocations: 45.62 kB / 0.7233 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.855e-05/0.7389, allocations: 26.25 kB / 0.7233 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004099/0.7431, allocations: 1.122 MB / 0.7244 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008871/0.752, allocations: 2.592 MB / 0.727 GB, free: 9.285 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003173/0.7552, allocations: 0.8248 MB / 0.7278 GB, free: 8.914 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/0.7563, allocations: 469.7 kB / 0.7282 GB, free: 8.434 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001438/0.7578, allocations: 437.8 kB / 0.7286 GB, free: 8.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=73): time 4.338e-06/0.7579, allocations: 0 / 0.7286 GB, free: 8.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=73): time 0.004997/0.7629, allocations: 1.113 MB / 0.7297 GB, free: 7.781 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.763, allocations: 189.8 kB / 0.7299 GB, free: 7.562 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.7645, allocations: 0.5989 MB / 0.7305 GB, free: 7.297 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001381/0.7647, allocations: 36.36 kB / 0.7305 GB, free: 7.258 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000535/0.7652, allocations: 401.7 kB / 0.7309 GB, free: 6.945 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003661/0.7656, allocations: 245.6 kB / 0.7311 GB, free: 6.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/0.7657, allocations: 15.31 kB / 0.7311 GB, free: 6.738 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002316/0.766, allocations: 377.9 kB / 0.7315 GB, free: 6.398 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008912/0.7669, allocations: 225.5 kB / 0.7317 GB, free: 6.324 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.7679, allocations: 323.9 kB / 0.732 GB, free: 6.156 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.769, allocations: 276 kB / 0.7323 GB, free: 6.043 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.769, allocations: 0 / 0.7323 GB, free: 6.043 MB / 0.545 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00323/0.7722, allocations: 0.7375 MB / 0.733 GB, free: 5.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.7723, allocations: 10 kB / 0.733 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.7723, allocations: 7.25 kB / 0.733 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009699/0.7733, allocations: 79.7 kB / 0.7331 GB, free: 5.727 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.7744, allocations: 143.4 kB / 0.7332 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003138/0.7776, allocations: 1.526 MB / 0.7347 GB, free: 4.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.7789, allocations: 90.42 kB / 0.7348 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/0.779, allocations: 29.14 kB / 0.7349 GB, free: 4.23 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008193/0.7798, allocations: 256 kB / 0.7351 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002682/0.7801, allocations: 85.98 kB / 0.7352 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003852/0.784, allocations: 1.005 MB / 0.7362 GB, free: 3.129 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/0.784, allocations: 8 kB / 0.7362 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.7841, allocations: 8.156 kB / 0.7362 GB, free: 3.113 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/0.7841, allocations: 15.92 kB / 0.7362 GB, free: 3.102 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006012/0.7901, allocations: 1.894 MB / 0.738 GB, free: 1.391 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.7901, allocations: 0 / 0.738 GB, free: 1.391 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.7913, allocations: 147.8 kB / 0.7382 GB, free: 1.246 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008797/0.7922, allocations: 84.77 kB / 0.7383 GB, free: 1.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.696e-05/0.7923, allocations: 23.98 kB / 0.7383 GB, free: 1.137 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00299/0.7953, allocations: 1.56 MB / 0.7398 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7953, allocations: 0 / 0.7398 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003505/0.7989, allocations: 0.922 MB / 0.7407 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008124/0.7997, allocations: 283.6 kB / 0.741 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002964/0.8, allocations: 16 kB / 0.741 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.8013, allocations: 73.16 kB / 0.7411 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/0.8015, allocations: 60.86 kB / 0.7411 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/0.8016, allocations: 31.98 kB / 0.7412 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001089/0.8027, allocations: 435 kB / 0.7416 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.71e-07/0.8027, allocations: 0 / 0.7416 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001896/0.8047, allocations: 311.2 kB / 0.7419 GB, free: 13.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006659/0.8113, allocations: 1.979 MB / 0.7438 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003439/0.8148, allocations: 0.7389 MB / 0.7445 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.8149, allocations: 0 / 0.7445 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001748/0.8166, allocations: 0.4889 MB / 0.745 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/0.8189, allocations: 236.8 kB / 0.7452 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.018/0.8369, allocations: 5.237 MB / 0.7503 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009691/0.8379, allocations: 1.039 MB / 0.7513 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001794/0.8398, allocations: 262.2 kB / 0.7516 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009137/0.8407, allocations: 371.3 kB / 0.752 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of SimCode: time 3.316e-06/0.8407, allocations: 0 / 0.752 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06912/0.9099, allocations: 20.37 MB / 0.7718 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004095/0.9103, allocations: 294.9 kB / 0.7721 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.194/3.104, allocations: 0 / 0.7721 GB, free: 14.69 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) Environment - environmentSimulation: