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.001182/0.001182, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001212/0.001212, allocations: 191.1 kB / 16.14 MB, free: 6.688 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.191/1.191, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8537/0.8537, allocations: 135.1 MB / 425.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 64.3 kB / 0.5048 GB, free: 5.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1444, allocations: 80.92 MB / 0.5838 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00561/0.1501, allocations: 4.141 MB / 0.5879 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3614/0.5115, allocations: 148.2 MB / 0.7326 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005661/0.5121, allocations: 23.22 kB / 0.7326 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004471/0.5126, allocations: 131.3 kB / 0.7327 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001114/0.5137, allocations: 401 kB / 0.7331 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.5152, allocations: 0.6907 MB / 0.7338 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008932/0.5161, allocations: 1.108 MB / 0.7348 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008075/0.5169, allocations: 0.6673 MB / 0.7355 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004123/0.5173, allocations: 400 kB / 0.7359 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004264/0.5178, allocations: 445.8 kB / 0.7363 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.5179, allocations: 60.16 kB / 0.7364 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006106/0.5185, allocations: 410.5 kB / 0.7368 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.5187, allocations: 243 kB / 0.737 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000397/0.5191, allocations: 486 kB / 0.7374 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.5203, allocations: 1.482 MB / 0.7389 GB, free: 11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.5203, allocations: 2.75 kB / 0.7389 GB, free: 11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.61e-07/0.5203, allocations: 1.969 kB / 0.7389 GB, free: 11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.5203, allocations: 0 / 0.7389 GB, free: 11 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002088/0.5224, allocations: 1.382 MB / 0.7403 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.5224, allocations: 9.719 kB / 0.7403 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001473/0.5226, allocations: 143.7 kB / 0.7404 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.5236, allocations: 204.4 kB / 0.7406 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008819/0.5245, allocations: 0.7266 MB / 0.7413 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.781e-05/0.5245, allocations: 65.75 kB / 0.7414 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.584e-05/0.5246, allocations: 89.75 kB / 0.7414 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.5261, allocations: 0.9437 MB / 0.7424 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.5262, allocations: 1.219 kB / 0.7424 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.158e-05/0.5262, allocations: 40.84 kB / 0.7424 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.5263, allocations: 21.66 kB / 0.7424 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.5279, allocations: 1.123 MB / 0.7435 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003391/0.5313, allocations: 2.482 MB / 0.746 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/0.5334, allocations: 0.8825 MB / 0.7468 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004746/0.5339, allocations: 281.5 kB / 0.7471 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.728e-05/0.5339, allocations: 27.23 kB / 0.7471 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007705/0.5347, allocations: 452.9 kB / 0.7475 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 1.914e-06/0.5347, allocations: 0 / 0.7475 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002741/0.5375, allocations: 1.09 MB / 0.7486 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.593e-05/0.5376, allocations: 188.6 kB / 0.7488 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000641/0.5382, allocations: 0.6056 MB / 0.7494 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.555e-05/0.5383, allocations: 41.7 kB / 0.7494 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.5386, allocations: 400.2 kB / 0.7498 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.5388, allocations: 240.5 kB / 0.75 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.539, allocations: 134.2 kB / 0.7502 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.5391, allocations: 386.7 kB / 0.7505 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004558/0.5396, allocations: 217.2 kB / 0.7507 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005238/0.5401, allocations: 330.7 kB / 0.751 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009749/0.5411, allocations: 0.5445 MB / 0.7516 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5411, allocations: 0 / 0.7516 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001733/0.5429, allocations: 0.7237 MB / 0.7523 GB, free: 280 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.5429, allocations: 6.656 kB / 0.7523 GB, free: 276 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.5429, allocations: 4 kB / 0.7523 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005713/0.5435, allocations: 80.86 kB / 0.7524 GB, free: 188 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005627/0.544, allocations: 139.8 kB / 0.7525 GB, free: 48 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.546, allocations: 1.522 MB / 0.754 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005175/0.5465, allocations: 79.36 kB / 0.7541 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.295e-05/0.5465, allocations: 27.98 kB / 0.7541 GB, free: 14.29 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: 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.0003263/0.5469, allocations: 257.7 kB / 0.7543 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.547, allocations: 83 kB / 0.7544 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002167/0.5492, allocations: 1.004 MB / 0.7554 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.5492, allocations: 8 kB / 0.7554 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.5492, allocations: 4 kB / 0.7554 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.5492, allocations: 7.984 kB / 0.7554 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003013/0.5523, allocations: 1.896 MB / 0.7573 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.5523, allocations: 0 / 0.7573 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005615/0.5528, allocations: 139.8 kB / 0.7574 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004819/0.5533, allocations: 92.64 kB / 0.7575 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.855e-05/0.5534, allocations: 23.98 kB / 0.7575 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/0.5551, allocations: 1.552 MB / 0.759 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5551, allocations: 0 / 0.759 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.5569, allocations: 0.9258 MB / 0.7599 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002841/0.5572, allocations: 251.8 kB / 0.7602 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.5573, allocations: 16 kB / 0.7602 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005786/0.5579, allocations: 59.94 kB / 0.7602 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.558, allocations: 60.84 kB / 0.7603 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-05/0.558, allocations: 35.98 kB / 0.7603 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004581/0.5585, allocations: 439 kB / 0.7608 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5585, allocations: 0 / 0.7608 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007004/0.5592, allocations: 291.2 kB / 0.761 GB, free: 6.926 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: 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.003138/0.5624, allocations: 1.971 MB / 0.763 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001379/0.5638, allocations: 0.731 MB / 0.7637 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5638, allocations: 0 / 0.7637 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008579/0.5646, allocations: 0.4891 MB / 0.7642 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.5657, allocations: 260 kB / 0.7644 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.5764, allocations: 6.636 MB / 0.7709 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005353/0.577, allocations: 1.023 MB / 0.7719 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007775/0.5778, allocations: 269.1 kB / 0.7721 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005071/0.5783, allocations: 371.3 kB / 0.7725 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of SimCode: time 7.02e-07/0.5783, allocations: 0 / 0.7725 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.491/3.07, allocations: 19.49 MB / 0.7915 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003188/3.07, allocations: 315.3 kB / 0.7918 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.057/5.127, allocations: 3.125 kB / 0.7918 GB, free: 7.742 MB / 0.6075 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)