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.00119/0.00119, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 196.2 kB / 16.53 MB, free: 6.656 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.254/1.254, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7171/0.7171, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 68.48 kB / 0.5019 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3505, allocations: 80.19 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005136/0.3557, allocations: 4.149 MB / 0.5842 GB, free: 1.629 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1455/0.5012, allocations: 150.5 MB / 0.7312 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007307/0.502, allocations: 27.81 kB / 0.7312 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004615/0.5025, allocations: 166.4 kB / 0.7314 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.5039, allocations: 482.4 kB / 0.7318 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.5056, allocations: 0.7901 MB / 0.7326 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009298/0.5066, allocations: 1.18 MB / 0.7338 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007794/0.5073, allocations: 0.6866 MB / 0.7344 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004413/0.5078, allocations: 450.4 kB / 0.7349 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004493/0.5083, allocations: 489.8 kB / 0.7353 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.5084, allocations: 112 kB / 0.7354 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007705/0.5092, allocations: 455.7 kB / 0.7359 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.5094, allocations: 295 kB / 0.7361 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004194/0.5099, allocations: 0.5323 MB / 0.7367 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.5112, allocations: 1.527 MB / 0.7382 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.5113, allocations: 0 / 0.7382 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5113, allocations: 0 / 0.7382 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.5113, allocations: 0 / 0.7382 GB, free: 15.16 MB / 0.5762 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.001915/0.5132, allocations: 1.385 MB / 0.7395 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.5132, allocations: 12.03 kB / 0.7395 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/0.5134, allocations: 143.8 kB / 0.7397 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.5144, allocations: 203.4 kB / 0.7399 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000826/0.5153, allocations: 0.7265 MB / 0.7406 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.482e-05/0.5153, allocations: 66 kB / 0.7406 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.5154, allocations: 91.98 kB / 0.7407 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.5168, allocations: 0.941 MB / 0.7416 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.5169, allocations: 0 / 0.7416 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.513e-05/0.517, allocations: 40 kB / 0.7417 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.517, allocations: 20 kB / 0.7417 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.5187, allocations: 1.128 MB / 0.7428 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003355/0.522, allocations: 2.483 MB / 0.7452 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/0.5241, allocations: 0.8806 MB / 0.7461 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/0.5246, allocations: 290.2 kB / 0.7464 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.259e-05/0.5247, allocations: 32.69 kB / 0.7464 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007464/0.5254, allocations: 439.1 kB / 0.7468 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 1.914e-06/0.5254, allocations: 0 / 0.7468 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.002736/0.5282, allocations: 1.092 MB / 0.7479 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/0.5282, allocations: 188.6 kB / 0.748 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006167/0.5289, allocations: 0.6017 MB / 0.7486 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.816e-05/0.5289, allocations: 37.7 kB / 0.7487 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/0.5292, allocations: 408.1 kB / 0.7491 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.5294, allocations: 244.5 kB / 0.7493 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.5295, allocations: 138.2 kB / 0.7494 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5297, allocations: 386.7 kB / 0.7498 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004531/0.5301, allocations: 221.2 kB / 0.75 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005234/0.5307, allocations: 322.8 kB / 0.7503 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009616/0.5316, allocations: 0.5394 MB / 0.7508 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.5317, allocations: 4.062 kB / 0.7508 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001638/0.5333, allocations: 0.7314 MB / 0.7516 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.5333, allocations: 8 kB / 0.7516 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.5333, allocations: 0 / 0.7516 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005778/0.5339, allocations: 84.81 kB / 0.7516 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005453/0.5345, allocations: 143.7 kB / 0.7518 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/0.5364, allocations: 1.626 MB / 0.7534 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005661/0.5369, allocations: 75.38 kB / 0.7534 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-05/0.537, allocations: 31.97 kB / 0.7535 GB, free: 14.91 MB / 0.5919 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.0003954/0.5374, allocations: 253.6 kB / 0.7537 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.5375, allocations: 75.06 kB / 0.7538 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.5397, allocations: 1.01 MB / 0.7548 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.5397, allocations: 8 kB / 0.7548 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.5397, allocations: 3.938 kB / 0.7548 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.5397, allocations: 3.984 kB / 0.7548 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002977/0.5427, allocations: 1.9 MB / 0.7566 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.5427, allocations: 0 / 0.7566 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005513/0.5433, allocations: 147.8 kB / 0.7568 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004206/0.5437, allocations: 72.72 kB / 0.7569 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-05/0.5438, allocations: 27.98 kB / 0.7569 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/0.5455, allocations: 1.658 MB / 0.7585 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5455, allocations: 0 / 0.7585 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.5473, allocations: 0.9218 MB / 0.7594 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/0.5476, allocations: 255.8 kB / 0.7596 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.5477, allocations: 16 kB / 0.7597 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005626/0.5482, allocations: 62.28 kB / 0.7597 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.5484, allocations: 56.92 kB / 0.7598 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.879e-05/0.5484, allocations: 31.97 kB / 0.7598 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004803/0.5489, allocations: 447 kB / 0.7602 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5489, allocations: 0 / 0.7602 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007257/0.5497, allocations: 295.1 kB / 0.7605 GB, free: 7.441 MB / 0.5919 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.003039/0.5527, allocations: 1.969 MB / 0.7624 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002004/0.5547, allocations: 0.9231 MB / 0.7633 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5547, allocations: 3.938 kB / 0.7633 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008313/0.5556, allocations: 0.4963 MB / 0.7638 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.5567, allocations: 280.1 kB / 0.7641 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009309/0.566, allocations: 6.237 MB / 0.7702 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.5665, allocations: 1.015 MB / 0.7712 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007548/0.5673, allocations: 270 kB / 0.7714 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004475/0.5677, allocations: 375.3 kB / 0.7718 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.5677, allocations: 0 / 0.7718 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7649/1.333, allocations: 20.17 MB / 0.7915 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/12.38, allocations: 3.375 kB / 0.7915 GB, free: 8.152 MB / 0.6231 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)