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.0008719/0.0008719, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005161/0.005161, allocations: 169.9 kB / 16.26 MB, free: 6.613 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: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8238/0.8238, allocations: 135.3 MB / 426.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002646/0.0002647, allocations: 8 kB / 0.5077 GB, free: 4.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1178, allocations: 82.3 MB / 0.5881 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.003758/0.1216, allocations: 3.741 MB / 0.5917 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3311/0.4527, allocations: 146.6 MB / 0.7349 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005468/0.4533, allocations: 18.75 kB / 0.7349 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000449/0.4537, allocations: 135.8 kB / 0.735 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.455, allocations: 400.9 kB / 0.7354 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.4567, allocations: 0.6938 MB / 0.7361 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0012/0.4579, allocations: 1.103 MB / 0.7371 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008561/0.4588, allocations: 0.6495 MB / 0.7378 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005241/0.4593, allocations: 309.2 kB / 0.7381 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004888/0.4598, allocations: 343 kB / 0.7384 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.46, allocations: 25.92 kB / 0.7384 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007373/0.4607, allocations: 363.9 kB / 0.7388 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.4609, allocations: 176.3 kB / 0.7389 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003558/0.4613, allocations: 438.1 kB / 0.7394 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.4626, allocations: 1.428 MB / 0.7408 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4626, allocations: 1.406 kB / 0.7408 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4626, allocations: 3.938 kB / 0.7408 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.4626, allocations: 0 / 0.7408 GB, free: 11.71 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.001689/0.4643, allocations: 1.165 MB / 0.7419 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.4643, allocations: 8.969 kB / 0.7419 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001417/0.4645, allocations: 141.8 kB / 0.742 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009641/0.4654, allocations: 217.6 kB / 0.7422 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008138/0.4663, allocations: 0.7242 MB / 0.743 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.692e-05/0.4663, allocations: 67.25 kB / 0.743 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.4664, allocations: 84.75 kB / 0.7431 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.4679, allocations: 0.9502 MB / 0.744 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.4679, allocations: 3.938 kB / 0.744 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.038e-05/0.468, allocations: 40.91 kB / 0.7441 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.468, allocations: 21.53 kB / 0.7441 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.4697, allocations: 1.136 MB / 0.7452 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003236/0.4729, allocations: 2.513 MB / 0.7477 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.4749, allocations: 0.8908 MB / 0.7485 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004691/0.4754, allocations: 286.5 kB / 0.7488 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.429e-05/0.4755, allocations: 39.77 kB / 0.7488 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006914/0.4762, allocations: 442.1 kB / 0.7493 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 1.823e-06/0.4762, allocations: 0 / 0.7493 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002596/0.4788, allocations: 1.105 MB / 0.7503 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.386e-05/0.4789, allocations: 189.8 kB / 0.7505 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006114/0.4795, allocations: 0.6045 MB / 0.7511 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.472e-05/0.4795, allocations: 41.7 kB / 0.7511 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.4798, allocations: 404.2 kB / 0.7515 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.48, allocations: 236.5 kB / 0.7518 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.437e-05/0.48, allocations: 57.69 kB / 0.7518 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.4802, allocations: 382.7 kB / 0.7522 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000446/0.4806, allocations: 225.2 kB / 0.7524 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005148/0.4812, allocations: 330.7 kB / 0.7527 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000953/0.4821, allocations: 0.5473 MB / 0.7532 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.4821, allocations: 0 / 0.7532 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001596/0.4837, allocations: 0.7431 MB / 0.754 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.4838, allocations: 4 kB / 0.754 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4838, allocations: 0 / 0.754 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005469/0.4843, allocations: 80.88 kB / 0.7541 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000545/0.4849, allocations: 143.8 kB / 0.7542 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/0.4866, allocations: 1.537 MB / 0.7557 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005359/0.4871, allocations: 84.05 kB / 0.7558 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/0.4872, allocations: 36.05 kB / 0.7558 GB, free: 15.89 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.0003101/0.4875, allocations: 249.7 kB / 0.756 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.4876, allocations: 86.98 kB / 0.7561 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/0.4897, allocations: 1.003 MB / 0.7571 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.4898, allocations: 11.94 kB / 0.7571 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.4898, allocations: 0.875 kB / 0.7571 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.495e-06/0.4898, allocations: 3.984 kB / 0.7571 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002883/0.4927, allocations: 1.907 MB / 0.759 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4927, allocations: 4 kB / 0.759 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000567/0.4933, allocations: 155.7 kB / 0.7591 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004785/0.4938, allocations: 80.78 kB / 0.7592 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.634e-05/0.4938, allocations: 25.98 kB / 0.7592 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/0.4955, allocations: 1.548 MB / 0.7607 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4955, allocations: 0 / 0.7607 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.4972, allocations: 0.9298 MB / 0.7617 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002945/0.4975, allocations: 271.8 kB / 0.7619 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.249e-05/0.4976, allocations: 20.12 kB / 0.7619 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000575/0.4982, allocations: 74.17 kB / 0.762 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.4983, allocations: 64.84 kB / 0.7621 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.845e-05/0.4984, allocations: 27.98 kB / 0.7621 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004743/0.4988, allocations: 447 kB / 0.7625 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4988, allocations: 0 / 0.7625 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007352/0.4996, allocations: 291.1 kB / 0.7628 GB, free: 8.484 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.003086/0.5027, allocations: 1.968 MB / 0.7647 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001405/0.5041, allocations: 0.7466 MB / 0.7654 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5041, allocations: 0 / 0.7654 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008243/0.5049, allocations: 0.5007 MB / 0.7659 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.5061, allocations: 268.5 kB / 0.7662 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.5173, allocations: 6.724 MB / 0.7728 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005958/0.5179, allocations: 1.015 MB / 0.7738 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007545/0.5187, allocations: 258.3 kB / 0.774 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004916/0.5192, allocations: 383.2 kB / 0.7744 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.5192, allocations: 0 / 0.7744 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.19/0.7092, allocations: 19.18 MB / 0.7931 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004018/0.7097, allocations: 318.4 kB / 0.7934 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/2.881, allocations: 2.344 kB / 0.7934 GB, free: 9.504 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)