Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.RelativeAirMass,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_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.004871/0.004871, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.001099/0.001099, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.319/1.319, 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.7389/0.7389, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 71.83 kB / 0.5809 GB, free: 8.082 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4115, allocations: 80.2 MB / 0.6592 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005115/0.4167, allocations: 4.146 MB / 0.6632 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1664/0.5831, allocations: 150.5 MB / 0.8102 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.5843, allocations: 15.94 kB / 0.8102 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005803/0.5848, allocations: 178.4 kB / 0.8104 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.5865, allocations: 481.6 kB / 0.8108 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.5885, allocations: 0.8099 MB / 0.8116 GB, free: 9.723 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001154/0.5897, allocations: 1.195 MB / 0.8128 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008983/0.5906, allocations: 0.6788 MB / 0.8134 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005204/0.5911, allocations: 458.3 kB / 0.8139 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004629/0.5916, allocations: 489.8 kB / 0.8144 GB, free: 6.902 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.5917, allocations: 112 kB / 0.8145 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008205/0.5926, allocations: 475.6 kB / 0.8149 GB, free: 6.328 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002485/0.5928, allocations: 291.1 kB / 0.8152 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004351/0.5933, allocations: 0.5246 MB / 0.8157 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.5949, allocations: 1.573 MB / 0.8172 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5949, allocations: 4 kB / 0.8172 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5949, allocations: 0 / 0.8172 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.786e-05/0.5949, allocations: 0 / 0.8172 GB, free: 3.934 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002068/0.597, allocations: 1.389 MB / 0.8186 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.5971, allocations: 8.031 kB / 0.8186 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000146/0.5972, allocations: 143.8 kB / 0.8187 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.5982, allocations: 207.4 kB / 0.8189 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.5993, allocations: 0.746 MB / 0.8197 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.653e-05/0.5993, allocations: 66 kB / 0.8197 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.5994, allocations: 95.92 kB / 0.8198 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.6009, allocations: 0.941 MB / 0.8207 GB, free: 208 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.6009, allocations: 3.938 kB / 0.8207 GB, free: 204 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.788e-05/0.601, allocations: 40 kB / 0.8208 GB, free: 164 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.601, allocations: 24 kB / 0.8208 GB, free: 140 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.6028, allocations: 1.124 MB / 0.8219 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003621/0.6064, allocations: 2.437 MB / 0.8243 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00208/0.6085, allocations: 0.8769 MB / 0.8251 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00049/0.609, allocations: 297.8 kB / 0.8254 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.689e-05/0.6091, allocations: 32.69 kB / 0.8255 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007376/0.6099, allocations: 431.3 kB / 0.8259 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 2.525e-06/0.6099, allocations: 0 / 0.8259 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73): time 0.002784/0.6127, allocations: 1.096 MB / 0.8269 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.6128, allocations: 192.6 kB / 0.8271 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006919/0.6135, allocations: 0.5979 MB / 0.8277 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.608e-05/0.6135, allocations: 41.7 kB / 0.8277 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/0.6139, allocations: 400.2 kB / 0.8281 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.6141, allocations: 248.4 kB / 0.8284 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.6143, allocations: 130.3 kB / 0.8285 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.6145, allocations: 382.7 kB / 0.8289 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000447/0.6149, allocations: 229.2 kB / 0.8291 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000527/0.6154, allocations: 322.7 kB / 0.8294 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009789/0.6164, allocations: 0.5355 MB / 0.8299 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6164, allocations: 0 / 0.8299 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00167/0.6181, allocations: 0.7392 MB / 0.8306 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.6181, allocations: 8 kB / 0.8306 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.6182, allocations: 0 / 0.8306 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005599/0.6187, allocations: 76.88 kB / 0.8307 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005706/0.6193, allocations: 147.7 kB / 0.8308 GB, free: 5.598 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/0.6212, allocations: 1.63 MB / 0.8324 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005193/0.6218, allocations: 75.34 kB / 0.8325 GB, free: 3.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/0.6218, allocations: 31.97 kB / 0.8325 GB, free: 3.719 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.0003488/0.6222, allocations: 257.6 kB / 0.8328 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.6223, allocations: 79.06 kB / 0.8329 GB, free: 3.379 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/0.6245, allocations: 0.9942 MB / 0.8338 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.6245, allocations: 11.94 kB / 0.8338 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.6245, allocations: 3.938 kB / 0.8338 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.6245, allocations: 3.984 kB / 0.8339 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003133/0.6276, allocations: 1.912 MB / 0.8357 GB, free: 384 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.6277, allocations: 0 / 0.8357 GB, free: 384 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005551/0.6282, allocations: 143.8 kB / 0.8359 GB, free: 240 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004078/0.6286, allocations: 72.78 kB / 0.8359 GB, free: 164 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.012e-05/0.6287, allocations: 23.98 kB / 0.8359 GB, free: 140 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/0.6305, allocations: 1.662 MB / 0.8376 GB, free: 14.33 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.6305, allocations: 0 / 0.8376 GB, free: 14.33 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.6323, allocations: 0.92 MB / 0.8385 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/0.6326, allocations: 255.8 kB / 0.8387 GB, free: 13.12 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.58e-05/0.6327, allocations: 16 kB / 0.8387 GB, free: 13.11 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005343/0.6332, allocations: 62.28 kB / 0.8388 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.6333, allocations: 57.06 kB / 0.8388 GB, free: 12.99 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.07e-05/0.6334, allocations: 31.97 kB / 0.8389 GB, free: 12.96 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004952/0.6339, allocations: 443 kB / 0.8393 GB, free: 12.54 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6339, allocations: 0 / 0.8393 GB, free: 12.54 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007784/0.6347, allocations: 295.1 kB / 0.8396 GB, free: 12.25 MB / 0.67 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.003206/0.6379, allocations: 1.97 MB / 0.8415 GB, free: 10.46 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001483/0.6394, allocations: 0.7357 MB / 0.8422 GB, free: 9.707 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.6394, allocations: 8 kB / 0.8422 GB, free: 9.699 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008256/0.6403, allocations: 496.3 kB / 0.8427 GB, free: 9.207 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.6413, allocations: 292.7 kB / 0.843 GB, free: 8.949 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009808/0.6511, allocations: 6.034 MB / 0.8489 GB, free: 2.824 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005704/0.6517, allocations: 1.019 MB / 0.8499 GB, free: 1.77 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007001/0.6524, allocations: 258.2 kB / 0.8501 GB, free: 1.512 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004875/0.6529, allocations: 379.2 kB / 0.8505 GB, free: 1.141 MB / 0.67 GB Notification: Performance of SimCode: time 6.21e-07/0.6529, allocations: 4 kB / 0.8505 GB, free: 1.137 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3335/0.9864, allocations: 20.4 MB / 0.8704 GB, free: 194.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.78, allocations: 5.016 kB / 0.8704 GB, free: 194.6 MB / 0.6856 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)