Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.001094/0.001094, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.008054/0.008054, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.29/1.29, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001741/0.001741, allocations: 267 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8709/0.8709, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003723, allocations: 14.16 kB / 0.5988 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1202, allocations: 88.55 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004066/0.1243, allocations: 3.967 MB / 0.6891 GB, free: 10.99 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.361/0.4854, allocations: 146.7 MB / 0.8323 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005192/0.4859, allocations: 18.88 kB / 0.8323 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004348/0.4864, allocations: 141.3 kB / 0.8325 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.4876, allocations: 427.4 kB / 0.8329 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.489, allocations: 0.7367 MB / 0.8336 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001148/0.4902, allocations: 1.217 MB / 0.8348 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008325/0.491, allocations: 0.6695 MB / 0.8355 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005162/0.4916, allocations: 346.9 kB / 0.8358 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004781/0.4921, allocations: 391.2 kB / 0.8362 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.465e-05/0.4921, allocations: 25.53 kB / 0.8362 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005927/0.4927, allocations: 373.2 kB / 0.8365 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.4929, allocations: 195 kB / 0.8367 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003585/0.4933, allocations: 478 kB / 0.8372 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.4946, allocations: 1.543 MB / 0.8387 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.4946, allocations: 6.031 kB / 0.8387 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.22e-07/0.4946, allocations: 0 / 0.8387 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.4946, allocations: 0 / 0.8387 GB, free: 8.613 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001882/0.4965, allocations: 1.251 MB / 0.8399 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.4965, allocations: 16.09 kB / 0.8399 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/0.4967, allocations: 148.3 kB / 0.8401 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009306/0.4976, allocations: 223.7 kB / 0.8403 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000844/0.4985, allocations: 0.7581 MB / 0.841 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.442e-05/0.4985, allocations: 71.59 kB / 0.8411 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.91e-05/0.4986, allocations: 90.91 kB / 0.8412 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.5001, allocations: 1.012 MB / 0.8422 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.5001, allocations: 0 / 0.8422 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.304e-05/0.5002, allocations: 41.19 kB / 0.8422 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.5002, allocations: 24.16 kB / 0.8422 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.5018, allocations: 1.184 MB / 0.8434 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003429/0.5053, allocations: 2.669 MB / 0.846 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/0.5073, allocations: 0.9727 MB / 0.8469 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005018/0.5079, allocations: 319.5 kB / 0.8472 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.559e-05/0.5079, allocations: 32.73 kB / 0.8473 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007705/0.5087, allocations: 0.4996 MB / 0.8478 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 1.783e-06/0.5087, allocations: 4 kB / 0.8478 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.002726/0.5114, allocations: 1.232 MB / 0.849 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.453e-05/0.5115, allocations: 196.4 kB / 0.8492 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006092/0.5122, allocations: 0.6407 MB / 0.8498 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.462e-05/0.5122, allocations: 46.8 kB / 0.8498 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002582/0.5125, allocations: 432.4 kB / 0.8502 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.5127, allocations: 266 kB / 0.8505 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.882e-05/0.5128, allocations: 57.25 kB / 0.8505 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5129, allocations: 385.6 kB / 0.8509 GB, free: 132 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004653/0.5134, allocations: 259.8 kB / 0.8512 GB, free: 4 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005422/0.5139, allocations: 368.6 kB / 0.8515 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009814/0.5149, allocations: 0.609 MB / 0.8521 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5149, allocations: 0 / 0.8521 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001612/0.5165, allocations: 0.8273 MB / 0.8529 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.5166, allocations: 5.688 kB / 0.8529 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.5166, allocations: 0 / 0.8529 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005193/0.5171, allocations: 86.92 kB / 0.853 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/0.5177, allocations: 162 kB / 0.8532 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001702/0.5194, allocations: 1.517 MB / 0.8546 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005768/0.52, allocations: 106.7 kB / 0.8547 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.52, allocations: 33.83 kB / 0.8548 GB, free: 13.37 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: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.000311/0.5204, allocations: 274.4 kB / 0.855 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.5205, allocations: 88.5 kB / 0.8551 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.5226, allocations: 1.107 MB / 0.8562 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.5226, allocations: 10.88 kB / 0.8562 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5226, allocations: 3.938 kB / 0.8562 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.5227, allocations: 3.984 kB / 0.8562 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002862/0.5255, allocations: 2.033 MB / 0.8582 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.5255, allocations: 0 / 0.8582 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007698/0.5263, allocations: 150.5 kB / 0.8584 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004659/0.5268, allocations: 84.17 kB / 0.8584 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.347e-05/0.5269, allocations: 24.86 kB / 0.8585 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/0.5284, allocations: 1.549 MB / 0.86 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5284, allocations: 3.938 kB / 0.86 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.5302, allocations: 1.023 MB / 0.861 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/0.5305, allocations: 295.9 kB / 0.8613 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.5306, allocations: 25.3 kB / 0.8613 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006341/0.5313, allocations: 83.02 kB / 0.8614 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.5314, allocations: 76.45 kB / 0.8614 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.708e-05/0.5315, allocations: 33.77 kB / 0.8615 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000457/0.5319, allocations: 471.6 kB / 0.8619 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5319, allocations: 0 / 0.8619 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006442/0.5326, allocations: 318.9 kB / 0.8622 GB, free: 8.238 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00307/0.5357, allocations: 2.082 MB / 0.8642 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001398/0.5371, allocations: 0.819 MB / 0.865 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5371, allocations: 2.75 kB / 0.8651 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008332/0.5379, allocations: 0.5373 MB / 0.8656 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.539, allocations: 262 kB / 0.8658 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.5505, allocations: 7.275 MB / 0.8729 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005448/0.5511, allocations: 1.039 MB / 0.8739 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000759/0.5518, allocations: 274.7 kB / 0.8742 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005166/0.5524, allocations: 399.3 kB / 0.8746 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.5524, allocations: 0 / 0.8746 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.139/1.692, allocations: 20.54 MB / 0.8946 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002446/1.692, allocations: 330.1 kB / 0.895 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.382/4.074, allocations: 0 / 0.895 GB, free: 8.465 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)