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.0009791/0.000979, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009688/0.0009688, allocations: 194 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8042/0.8042, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 68.22 kB / 0.5048 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1192, allocations: 80.91 MB / 0.5838 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004771/0.124, allocations: 4.192 MB / 0.5879 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3216/0.4456, allocations: 148.2 MB / 0.7327 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005186/0.4462, allocations: 14.78 kB / 0.7327 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004347/0.4466, allocations: 131.2 kB / 0.7328 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.4477, allocations: 402.5 kB / 0.7332 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.4491, allocations: 0.7085 MB / 0.7339 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008868/0.45, allocations: 1.118 MB / 0.735 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007894/0.4508, allocations: 0.6605 MB / 0.7356 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004038/0.4513, allocations: 405 kB / 0.736 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004119/0.4517, allocations: 452.9 kB / 0.7364 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.4518, allocations: 59.22 kB / 0.7365 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006192/0.4524, allocations: 427.1 kB / 0.7369 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002152/0.4526, allocations: 243.6 kB / 0.7371 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003593/0.453, allocations: 487.5 kB / 0.7376 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.4541, allocations: 1.505 MB / 0.7391 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.4542, allocations: 0 / 0.7391 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.71e-07/0.4542, allocations: 0 / 0.7391 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.4542, allocations: 0 / 0.7391 GB, free: 10.79 MB / 0.5606 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.001961/0.4561, allocations: 1.397 MB / 0.7404 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.4562, allocations: 7.938 kB / 0.7404 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001481/0.4563, allocations: 144.2 kB / 0.7406 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.4573, allocations: 205.3 kB / 0.7408 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008778/0.4582, allocations: 0.7266 MB / 0.7415 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.661e-05/0.4583, allocations: 66.5 kB / 0.7415 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.4584, allocations: 93.39 kB / 0.7416 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.4599, allocations: 0.9548 MB / 0.7426 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.4599, allocations: 3.984 kB / 0.7426 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.002e-05/0.46, allocations: 38.88 kB / 0.7426 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.46, allocations: 22 kB / 0.7426 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.4616, allocations: 1.119 MB / 0.7437 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00338/0.465, allocations: 2.561 MB / 0.7462 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.4663, allocations: 0.8212 MB / 0.747 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004642/0.4668, allocations: 280.4 kB / 0.7473 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005879/0.4674, allocations: 480.2 kB / 0.7477 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007589/0.4682, allocations: 439.2 kB / 0.7482 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 1.823e-06/0.4682, allocations: 0 / 0.7482 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002812/0.471, allocations: 1.104 MB / 0.7492 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.631e-05/0.4711, allocations: 188.6 kB / 0.7494 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006345/0.4717, allocations: 0.6018 MB / 0.75 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/0.4718, allocations: 37.7 kB / 0.75 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.4721, allocations: 404.1 kB / 0.7504 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.4722, allocations: 240.5 kB / 0.7507 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.4725, allocations: 138.2 kB / 0.7508 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.4726, allocations: 386.7 kB / 0.7512 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000447/0.4731, allocations: 221.2 kB / 0.7514 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005368/0.4736, allocations: 324.8 kB / 0.7517 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009596/0.4746, allocations: 0.5433 MB / 0.7522 GB, free: 240 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.4746, allocations: 4 kB / 0.7522 GB, free: 236 kB / 0.5606 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001687/0.4763, allocations: 0.7353 MB / 0.7529 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.4763, allocations: 8 kB / 0.7529 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.4763, allocations: 0 / 0.7529 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005797/0.4769, allocations: 84.86 kB / 0.753 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005772/0.4775, allocations: 135.8 kB / 0.7532 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.4793, allocations: 1.519 MB / 0.7546 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005143/0.4798, allocations: 75.33 kB / 0.7547 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.323e-05/0.4799, allocations: 31.92 kB / 0.7547 GB, free: 13.5 MB / 0.5762 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 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003121/0.4802, allocations: 256.2 kB / 0.755 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.4803, allocations: 86.97 kB / 0.7551 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/0.4825, allocations: 0.9975 MB / 0.756 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.4826, allocations: 11.98 kB / 0.7561 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.4826, allocations: 3.562 kB / 0.7561 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.4826, allocations: 3.984 kB / 0.7561 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002903/0.4855, allocations: 1.9 MB / 0.7579 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4855, allocations: 4 kB / 0.7579 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000558/0.4861, allocations: 143.7 kB / 0.7581 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000488/0.4866, allocations: 84.77 kB / 0.7581 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.877e-05/0.4866, allocations: 23.98 kB / 0.7582 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/0.4883, allocations: 1.549 MB / 0.7597 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4883, allocations: 0 / 0.7597 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.4901, allocations: 0.9257 MB / 0.7606 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002751/0.4904, allocations: 251.8 kB / 0.7608 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.4905, allocations: 19.98 kB / 0.7608 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005662/0.4911, allocations: 55.95 kB / 0.7609 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.4912, allocations: 60.84 kB / 0.7609 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-05/0.4913, allocations: 32.11 kB / 0.761 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004654/0.4917, allocations: 439 kB / 0.7614 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4917, allocations: 0 / 0.7614 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007015/0.4924, allocations: 311.1 kB / 0.7617 GB, free: 6.133 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003123/0.4956, allocations: 1.988 MB / 0.7636 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001389/0.497, allocations: 0.7311 MB / 0.7643 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.497, allocations: 0 / 0.7643 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008294/0.4978, allocations: 0.4928 MB / 0.7648 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.4989, allocations: 259.3 kB / 0.7651 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.5095, allocations: 6.629 MB / 0.7715 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005137/0.51, allocations: 1.023 MB / 0.7725 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007474/0.5108, allocations: 258.2 kB / 0.7728 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004733/0.5113, allocations: 375.3 kB / 0.7732 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.5113, allocations: 0 / 0.7732 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.86/3.372, allocations: 19.58 MB / 0.7923 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002442/3.372, allocations: 306.6 kB / 0.7926 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.504/5.876, allocations: 5.562 kB / 0.7926 GB, free: 6.844 MB / 0.6075 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/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)