Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_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.005267/0.005266, allocations: 100.7 kB / 15.73 MB, free: 6.438 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.001332/0.001332, allocations: 194.9 kB / 16.68 MB, free: 6.355 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7372/0.7372, allocations: 132.2 MB / 422.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 66.73 kB / 0.5809 GB, free: 1.133 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1556, allocations: 80.22 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006071/0.1617, allocations: 4.185 MB / 0.6633 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1566/0.3183, allocations: 150.5 MB / 0.8103 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009378/0.3193, allocations: 15.94 kB / 0.8103 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000706/0.32, allocations: 166.5 kB / 0.8105 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.3218, allocations: 494.6 kB / 0.8109 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.3239, allocations: 0.8139 MB / 0.8117 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.3771/0.701, allocations: 1.209 MB / 0.8129 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001439/0.7024, allocations: 0.6777 MB / 0.8136 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007567/0.7032, allocations: 464.2 kB / 0.814 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006022/0.7038, allocations: 485.5 kB / 0.8145 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.704, allocations: 111.5 kB / 0.8146 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009382/0.7049, allocations: 0.4973 MB / 0.8151 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002617/0.7052, allocations: 288.5 kB / 0.8153 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004561/0.7057, allocations: 0.532 MB / 0.8159 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001936/0.7076, allocations: 1.593 MB / 0.8174 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.7076, allocations: 0.5312 kB / 0.8174 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7076, allocations: 0 / 0.8174 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.731e-05/0.7077, allocations: 0.5 kB / 0.8174 GB, free: 3.223 MB / 0.6387 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.002292/0.71, allocations: 1.385 MB / 0.8188 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.71, allocations: 10.19 kB / 0.8188 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001694/0.7102, allocations: 142 kB / 0.8189 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.7114, allocations: 210.8 kB / 0.8191 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.7126, allocations: 0.7482 MB / 0.8198 GB, free: 2.078 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.341e-05/0.7127, allocations: 71.16 kB / 0.8199 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.7128, allocations: 84.05 kB / 0.82 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.7145, allocations: 0.9498 MB / 0.8209 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.7145, allocations: 0.9062 kB / 0.8209 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-05/0.7146, allocations: 40.95 kB / 0.821 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.7146, allocations: 21.59 kB / 0.821 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001928/0.7165, allocations: 1.127 MB / 0.8221 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003799/0.7203, allocations: 2.527 MB / 0.8245 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.7217, allocations: 0.8213 MB / 0.8254 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005187/0.7222, allocations: 285.7 kB / 0.8256 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006582/0.7229, allocations: 476.4 kB / 0.8261 GB, free: 16.54 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006919/0.7236, allocations: 439.6 kB / 0.8265 GB, free: 16.46 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 2.244e-06/0.7236, allocations: 0 / 0.8265 GB, free: 16.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73): time 0.002781/0.7264, allocations: 1.098 MB / 0.8276 GB, free: 16.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.7265, allocations: 193.1 kB / 0.8278 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000714/0.7272, allocations: 0.5959 MB / 0.8283 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.154e-05/0.7273, allocations: 42.7 kB / 0.8284 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.7276, allocations: 407 kB / 0.8288 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.7277, allocations: 240 kB / 0.829 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.7279, allocations: 133.9 kB / 0.8291 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.7281, allocations: 384.6 kB / 0.8295 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004417/0.7285, allocations: 223.9 kB / 0.8297 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005044/0.729, allocations: 331.5 kB / 0.83 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009055/0.73, allocations: 0.5389 MB / 0.8305 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.73, allocations: 0 / 0.8305 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001609/0.7316, allocations: 0.7331 MB / 0.8313 GB, free: 15 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.7316, allocations: 10.53 kB / 0.8313 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.7316, allocations: 2.219 kB / 0.8313 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005466/0.7322, allocations: 83.77 kB / 0.8314 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/0.7328, allocations: 138.7 kB / 0.8315 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/0.7347, allocations: 1.63 MB / 0.8331 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005413/0.7353, allocations: 81.86 kB / 0.8332 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-05/0.7353, allocations: 28.64 kB / 0.8332 GB, free: 13.59 MB / 0.6544 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.000332/0.7357, allocations: 252.5 kB / 0.8334 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.7358, allocations: 81.62 kB / 0.8335 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002035/0.7379, allocations: 1.001 MB / 0.8345 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.7379, allocations: 9 kB / 0.8345 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.7379, allocations: 1.203 kB / 0.8345 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.7379, allocations: 3.422 kB / 0.8345 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/0.7407, allocations: 1.902 MB / 0.8363 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.7407, allocations: 0 / 0.8363 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005212/0.7412, allocations: 148.2 kB / 0.8365 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003957/0.7416, allocations: 74.28 kB / 0.8366 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.901e-05/0.7417, allocations: 22.34 kB / 0.8366 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/0.7434, allocations: 1.654 MB / 0.8382 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.7434, allocations: 11.28 kB / 0.8382 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.7451, allocations: 0.9167 MB / 0.8391 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/0.7455, allocations: 270.8 kB / 0.8394 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-05/0.7456, allocations: 16.12 kB / 0.8394 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005371/0.7461, allocations: 56.3 kB / 0.8394 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.7462, allocations: 60.19 kB / 0.8395 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.066e-05/0.7463, allocations: 28.8 kB / 0.8395 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000462/0.7468, allocations: 443.6 kB / 0.8399 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7468, allocations: 0 / 0.8399 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008959/0.7477, allocations: 310.7 kB / 0.8402 GB, free: 11.05 MB / 0.6544 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.003089/0.7508, allocations: 1.989 MB / 0.8422 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001356/0.7521, allocations: 0.737 MB / 0.8429 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.7522, allocations: 4.656 kB / 0.8429 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007729/0.7529, allocations: 498.9 kB / 0.8434 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009991/0.7539, allocations: 278.8 kB / 0.8436 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009498/0.7635, allocations: 6.04 MB / 0.8495 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000666/0.7642, allocations: 1.018 MB / 0.8505 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009327/0.7651, allocations: 263.1 kB / 0.8508 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004703/0.7656, allocations: 369.8 kB / 0.8511 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of SimCode: time 6.71e-07/0.7656, allocations: 0.6562 kB / 0.8511 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04745/0.8131, allocations: 20.51 MB / 0.8712 GB, free: 2.766 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.49, allocations: 7.781 kB / 0.8712 GB, free: 2.758 MB / 0.6544 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)