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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006312/0.006312, allocations: 104.2 kB / 15.73 MB, free: 5.953 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.00145/0.00145, allocations: 192.1 kB / 16.67 MB, free: 5.871 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.746/0.746, allocations: 135.6 MB / 426.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 74.62 kB / 0.5857 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1206, allocations: 81.02 MB / 0.6649 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005244/0.1259, allocations: 4.142 MB / 0.6689 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3896/0.5155, allocations: 150.5 MB / 0.8159 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005259/0.5161, allocations: 19.38 kB / 0.8159 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004313/0.5165, allocations: 164.8 kB / 0.816 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.5177, allocations: 474.9 kB / 0.8165 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.5191, allocations: 0.8056 MB / 0.8173 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007887/0.5199, allocations: 1.188 MB / 0.8184 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006727/0.5206, allocations: 0.6906 MB / 0.8191 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003595/0.521, allocations: 454.9 kB / 0.8195 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004092/0.5214, allocations: 484.8 kB / 0.82 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.5215, allocations: 112.6 kB / 0.8201 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005863/0.5221, allocations: 486.4 kB / 0.8206 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002135/0.5223, allocations: 288.8 kB / 0.8209 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003932/0.5227, allocations: 0.5255 MB / 0.8214 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.5241, allocations: 1.577 MB / 0.8229 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5242, allocations: 5.312 kB / 0.8229 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5242, allocations: 0 / 0.8229 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.5242, allocations: 0 / 0.8229 GB, free: 4.746 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.001893/0.5261, allocations: 1.424 MB / 0.8243 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.5261, allocations: 10.83 kB / 0.8243 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001408/0.5263, allocations: 142.4 kB / 0.8244 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009416/0.5272, allocations: 207.9 kB / 0.8246 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009426/0.5282, allocations: 0.7498 MB / 0.8254 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.805e-05/0.5282, allocations: 69.06 kB / 0.8254 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.955e-05/0.5283, allocations: 89.84 kB / 0.8255 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.5297, allocations: 0.9389 MB / 0.8264 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.5297, allocations: 0 / 0.8264 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.511e-05/0.5298, allocations: 41.84 kB / 0.8265 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.5298, allocations: 22.44 kB / 0.8265 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/0.5314, allocations: 1.129 MB / 0.8276 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003253/0.5347, allocations: 2.457 MB / 0.83 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.5367, allocations: 0.8818 MB / 0.8309 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004734/0.5372, allocations: 282.5 kB / 0.8311 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.959e-05/0.5373, allocations: 37.39 kB / 0.8312 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007018/0.538, allocations: 435.7 kB / 0.8316 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 1.774e-06/0.538, allocations: 0 / 0.8316 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.002591/0.5406, allocations: 1.096 MB / 0.8327 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.5407, allocations: 196.2 kB / 0.8328 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000597/0.5413, allocations: 0.5973 MB / 0.8334 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/0.5414, allocations: 38.08 kB / 0.8335 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.5417, allocations: 407.9 kB / 0.8339 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.5419, allocations: 253.1 kB / 0.8341 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.5421, allocations: 137.1 kB / 0.8342 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.5422, allocations: 385.6 kB / 0.8346 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004374/0.5427, allocations: 222.4 kB / 0.8348 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005212/0.5432, allocations: 324.7 kB / 0.8351 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009613/0.5442, allocations: 0.5399 MB / 0.8356 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5442, allocations: 0 / 0.8356 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001603/0.5458, allocations: 0.7373 MB / 0.8364 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.5458, allocations: 5.281 kB / 0.8364 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.5458, allocations: 2.688 kB / 0.8364 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005207/0.5463, allocations: 86.92 kB / 0.8365 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005062/0.5469, allocations: 139.4 kB / 0.8366 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/0.5488, allocations: 1.625 MB / 0.8382 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004705/0.5493, allocations: 83.25 kB / 0.8383 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.116e-05/0.5493, allocations: 29.58 kB / 0.8383 GB, free: 9.77 MB / 0.6075 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.0003024/0.5496, allocations: 262.6 kB / 0.8385 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.5498, allocations: 85.52 kB / 0.8386 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002028/0.5518, allocations: 0.9872 MB / 0.8396 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.5518, allocations: 11.66 kB / 0.8396 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.5518, allocations: 0 / 0.8396 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.5518, allocations: 7.922 kB / 0.8396 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002814/0.5546, allocations: 1.913 MB / 0.8415 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5547, allocations: 0 / 0.8415 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005017/0.5552, allocations: 149 kB / 0.8416 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003863/0.5556, allocations: 67.86 kB / 0.8417 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/0.5556, allocations: 27.41 kB / 0.8417 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/0.5573, allocations: 1.662 MB / 0.8433 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5574, allocations: 6.594 kB / 0.8433 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.559, allocations: 0.9263 MB / 0.8442 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000268/0.5593, allocations: 257.6 kB / 0.8445 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.681e-05/0.5594, allocations: 20.73 kB / 0.8445 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005101/0.5599, allocations: 56.36 kB / 0.8446 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.56, allocations: 64.16 kB / 0.8446 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-05/0.5601, allocations: 28.14 kB / 0.8446 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000428/0.5605, allocations: 440.6 kB / 0.8451 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5605, allocations: 0 / 0.8451 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005895/0.5611, allocations: 304.6 kB / 0.8454 GB, free: 4.754 MB / 0.6075 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 (85): * Single equations (assignments): 82 * 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.003641/0.5648, allocations: 1.966 MB / 0.8473 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001426/0.5662, allocations: 0.7444 MB / 0.848 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.5662, allocations: 0 / 0.848 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008516/0.5671, allocations: 496.2 kB / 0.8485 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.5682, allocations: 292.1 kB / 0.8488 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0095/0.5777, allocations: 6.081 MB / 0.8547 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005767/0.5783, allocations: 1.019 MB / 0.8557 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006422/0.5789, allocations: 254.2 kB / 0.8559 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004883/0.5794, allocations: 386 kB / 0.8563 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of SimCode: time 2.81e-07/0.5794, allocations: 0 / 0.8563 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.901/6.48, allocations: 20.4 MB / 0.8762 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/20.62, allocations: 12.58 kB / 0.8762 GB, free: 5.547 MB / 0.6387 GB (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)