Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 107.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 182 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9769/0.9769, allocations: 175.7 MB / 480.1 MB, free: 2.758 MB / 366.1 MB " [Timeout remaining time 179] 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.RelativeAirMass,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 63.61 kB / 0.6677 GB, free: 11.14 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1503, allocations: 94.54 MB / 0.7601 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006391/0.1567, allocations: 5.185 MB / 0.7651 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4731/0.6298, allocations: 151.2 MB / 0.9128 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007313/0.6305, allocations: 19.66 kB / 0.9128 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005378/0.631, allocations: 198.3 kB / 0.913 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00147/0.6325, allocations: 0.5753 MB / 0.9136 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.6342, allocations: 0.8747 MB / 0.9144 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001307/0.6356, allocations: 1.434 MB / 0.9158 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007353/0.6363, allocations: 476.3 kB / 0.9163 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005902/0.6369, allocations: 0.5165 MB / 0.9168 GB, free: 216 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006468/0.6375, allocations: 0.5455 MB / 0.9173 GB, free: 15.82 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001554/0.6377, allocations: 125.9 kB / 0.9174 GB, free: 15.82 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007977/0.6385, allocations: 492.2 kB / 0.9179 GB, free: 15.64 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002921/0.6388, allocations: 320.3 kB / 0.9182 GB, free: 15.39 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004872/0.6393, allocations: 0.6054 MB / 0.9188 GB, free: 14.95 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.6409, allocations: 1.737 MB / 0.9205 GB, free: 13.7 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6409, allocations: 6.531 kB / 0.9205 GB, free: 13.7 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6409, allocations: 4 kB / 0.9205 GB, free: 13.69 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.641, allocations: 0 / 0.9205 GB, free: 13.69 MB / 0.67 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.002405/0.6434, allocations: 1.539 MB / 0.922 GB, free: 12.48 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.6434, allocations: 14.19 kB / 0.922 GB, free: 12.48 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001604/0.6436, allocations: 149.1 kB / 0.9222 GB, free: 12.36 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.6446, allocations: 228.8 kB / 0.9224 GB, free: 12.24 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.6456, allocations: 0.7852 MB / 0.9232 GB, free: 11.6 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.914e-05/0.6457, allocations: 69.47 kB / 0.9232 GB, free: 11.57 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.6458, allocations: 88.69 kB / 0.9233 GB, free: 11.54 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.6473, allocations: 1.007 MB / 0.9243 GB, free: 10.91 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.6474, allocations: 3.938 kB / 0.9243 GB, free: 10.9 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.216e-05/0.6474, allocations: 48.06 kB / 0.9243 GB, free: 10.86 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.6475, allocations: 27.91 kB / 0.9244 GB, free: 10.86 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.6492, allocations: 1.169 MB / 0.9255 GB, free: 10.31 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004058/0.6533, allocations: 2.966 MB / 0.9284 GB, free: 7.895 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/0.6554, allocations: 0.9318 MB / 0.9293 GB, free: 7.363 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005159/0.656, allocations: 290.2 kB / 0.9296 GB, free: 7.215 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 6.524e-05/0.656, allocations: 29.23 kB / 0.9296 GB, free: 7.199 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008132/0.6568, allocations: 0.5013 MB / 0.9301 GB, free: 6.875 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 1.983e-06/0.6568, allocations: 0 / 0.9301 GB, free: 6.875 MB / 0.67 GB Notification: Performance of matching and sorting (n=82): time 0.003037/0.6599, allocations: 1.232 MB / 0.9313 GB, free: 6.207 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.66, allocations: 196.2 kB / 0.9315 GB, free: 5.98 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007258/0.6607, allocations: 0.6417 MB / 0.9321 GB, free: 5.609 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.43e-05/0.6608, allocations: 42.48 kB / 0.9322 GB, free: 5.566 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/0.6611, allocations: 427.5 kB / 0.9326 GB, free: 5.191 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.6613, allocations: 287.1 kB / 0.9328 GB, free: 4.941 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/0.6615, allocations: 149.9 kB / 0.933 GB, free: 4.852 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.6617, allocations: 387.1 kB / 0.9334 GB, free: 4.484 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004877/0.6622, allocations: 252.7 kB / 0.9336 GB, free: 4.359 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005989/0.6628, allocations: 367.9 kB / 0.9339 GB, free: 4.125 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.6638, allocations: 0.5999 MB / 0.9345 GB, free: 3.805 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.6639, allocations: 2.188 kB / 0.9345 GB, free: 3.805 MB / 0.67 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001771/0.6656, allocations: 0.8284 MB / 0.9353 GB, free: 3.375 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.6656, allocations: 10.59 kB / 0.9354 GB, free: 3.371 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.6656, allocations: 0 / 0.9354 GB, free: 3.371 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000536/0.6662, allocations: 82.14 kB / 0.9354 GB, free: 3.332 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000604/0.6668, allocations: 158.5 kB / 0.9356 GB, free: 3.289 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.6687, allocations: 1.636 MB / 0.9372 GB, free: 1.684 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006413/0.6694, allocations: 104.7 kB / 0.9373 GB, free: 1.617 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-05/0.6694, allocations: 32.42 kB / 0.9373 GB, free: 1.605 MB / 0.67 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.0003675/0.6698, allocations: 276.9 kB / 0.9376 GB, free: 1.387 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.67, allocations: 88.03 kB / 0.9377 GB, free: 1.34 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/0.6722, allocations: 1.098 MB / 0.9387 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.6722, allocations: 9.406 kB / 0.9387 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.6722, allocations: 0 / 0.9387 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.6722, allocations: 3.984 kB / 0.9387 GB, free: 0.7109 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002979/0.6752, allocations: 2.002 MB / 0.9407 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.6752, allocations: 3.984 kB / 0.9407 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005554/0.6757, allocations: 156.2 kB / 0.9409 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003977/0.6761, allocations: 68.78 kB / 0.9409 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.487e-05/0.6762, allocations: 30.06 kB / 0.9409 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/0.678, allocations: 1.656 MB / 0.9426 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.678, allocations: 0 / 0.9426 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.6799, allocations: 1.032 MB / 0.9436 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003173/0.6802, allocations: 276.4 kB / 0.9438 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.6803, allocations: 24.91 kB / 0.9439 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006445/0.6809, allocations: 60.31 kB / 0.9439 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.6811, allocations: 76.23 kB / 0.944 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.917e-05/0.6811, allocations: 30.58 kB / 0.944 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005488/0.6817, allocations: 479.4 kB / 0.9445 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.6817, allocations: 0 / 0.9445 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008122/0.6825, allocations: 339 kB / 0.9448 GB, free: 11.96 MB / 0.6856 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.003964/0.6864, allocations: 2.077 MB / 0.9468 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001642/0.6881, allocations: 0.8 MB / 0.9476 GB, free: 9.227 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6881, allocations: 4 kB / 0.9476 GB, free: 9.223 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009273/0.689, allocations: 0.4963 MB / 0.9481 GB, free: 8.715 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.6902, allocations: 301.8 kB / 0.9484 GB, free: 8.441 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.7002, allocations: 6.449 MB / 0.9547 GB, free: 1.84 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006409/0.7009, allocations: 1.039 MB / 0.9557 GB, free: 0.7695 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007973/0.7017, allocations: 282.8 kB / 0.956 GB, free: 500 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005491/0.7022, allocations: 403.3 kB / 0.9564 GB, free: 96 kB / 0.6856 GB Notification: Performance of SimCode: time 7.31e-07/0.7022, allocations: 0 / 0.9564 GB, free: 96 kB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05682/0.759, allocations: 22.39 MB / 0.9782 GB, free: 9.922 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.49, allocations: 19.19 kB / 0.9782 GB, free: 9.906 MB / 0.7169 GB " [Timeout remaining time 647] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.060910597996553]