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.001147/0.001147, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001154/0.001155, allocations: 193.7 kB / 16.25 MB, free: 6.621 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.187/1.187, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6753/0.6753, allocations: 132.2 MB / 422.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 66.89 kB / 0.5014 GB, free: 8.945 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1231, allocations: 80.19 MB / 0.5797 GB, free: 8.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004851/0.128, allocations: 4.154 MB / 0.5837 GB, free: 4.793 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3334/0.4614, allocations: 148.3 MB / 0.7285 GB, free: 2.926 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005301/0.462, allocations: 18.47 kB / 0.7285 GB, free: 2.918 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004398/0.4624, allocations: 131.9 kB / 0.7287 GB, free: 2.844 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.4636, allocations: 420 kB / 0.7291 GB, free: 2.629 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.465, allocations: 0.7254 MB / 0.7298 GB, free: 2.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009035/0.466, allocations: 1.18 MB / 0.7309 GB, free: 1.645 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007598/0.4667, allocations: 0.6777 MB / 0.7316 GB, free: 1.297 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004153/0.4672, allocations: 461.9 kB / 0.732 GB, free: 1.055 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004437/0.4676, allocations: 484.1 kB / 0.7325 GB, free: 0.793 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.4677, allocations: 117 kB / 0.7326 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005791/0.4683, allocations: 456.7 kB / 0.733 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002239/0.4686, allocations: 290.9 kB / 0.7333 GB, free: 0.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000367/0.4689, allocations: 0.5284 MB / 0.7338 GB, free: 136 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.4701, allocations: 1.529 MB / 0.7353 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.4701, allocations: 1.562 kB / 0.7353 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4701, allocations: 4 kB / 0.7353 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.4701, allocations: 0 / 0.7353 GB, free: 15.48 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.001847/0.472, allocations: 1.38 MB / 0.7367 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.472, allocations: 13.34 kB / 0.7367 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001313/0.4722, allocations: 142.8 kB / 0.7368 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000958/0.4731, allocations: 207 kB / 0.737 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007734/0.4739, allocations: 0.7223 MB / 0.7377 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.357e-05/0.474, allocations: 66.16 kB / 0.7378 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.4741, allocations: 89.92 kB / 0.7379 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.4755, allocations: 0.9456 MB / 0.7388 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.4755, allocations: 5.312 kB / 0.7388 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.552e-05/0.4756, allocations: 36.25 kB / 0.7388 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.4756, allocations: 22 kB / 0.7389 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.4771, allocations: 1.121 MB / 0.74 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003146/0.4803, allocations: 2.493 MB / 0.7424 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.4822, allocations: 0.8752 MB / 0.7432 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004407/0.4827, allocations: 286.6 kB / 0.7435 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.559e-05/0.4828, allocations: 37.8 kB / 0.7436 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007187/0.4835, allocations: 434.8 kB / 0.744 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 1.833e-06/0.4835, allocations: 0 / 0.744 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002607/0.4861, allocations: 1.092 MB / 0.745 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/0.4862, allocations: 197.1 kB / 0.7452 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005821/0.4868, allocations: 0.5979 MB / 0.7458 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.449e-05/0.4869, allocations: 41.7 kB / 0.7459 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.4871, allocations: 400.2 kB / 0.7462 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.4873, allocations: 240.5 kB / 0.7465 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.4875, allocations: 134.2 kB / 0.7466 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4876, allocations: 386.4 kB / 0.747 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/0.488, allocations: 225.2 kB / 0.7472 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005066/0.4885, allocations: 326.7 kB / 0.7475 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009172/0.4895, allocations: 0.5355 MB / 0.748 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4895, allocations: 0 / 0.748 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001608/0.4911, allocations: 0.7353 MB / 0.7487 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.4911, allocations: 4 kB / 0.7487 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.4911, allocations: 4 kB / 0.7487 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005716/0.4917, allocations: 80.86 kB / 0.7488 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005559/0.4923, allocations: 143.8 kB / 0.7489 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/0.494, allocations: 1.63 MB / 0.7505 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005071/0.4946, allocations: 85.23 kB / 0.7506 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/0.4946, allocations: 27.98 kB / 0.7506 GB, free: 3.402 MB / 0.5606 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.0002924/0.4949, allocations: 257.6 kB / 0.7509 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.495, allocations: 79.05 kB / 0.751 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/0.4971, allocations: 0.9916 MB / 0.7519 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.4972, allocations: 11.94 kB / 0.7519 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.4972, allocations: 4 kB / 0.752 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.4972, allocations: 11.92 kB / 0.752 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002776/0.5, allocations: 1.894 MB / 0.7538 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5, allocations: 0 / 0.7538 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000558/0.5005, allocations: 151.8 kB / 0.754 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000414/0.501, allocations: 72.8 kB / 0.754 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.645e-05/0.501, allocations: 23.98 kB / 0.7541 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/0.5026, allocations: 1.656 MB / 0.7557 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.5027, allocations: 0 / 0.7557 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.5043, allocations: 0.9297 MB / 0.7566 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002534/0.5046, allocations: 255.8 kB / 0.7568 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.5047, allocations: 20.12 kB / 0.7568 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005631/0.5053, allocations: 55.64 kB / 0.7569 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.5054, allocations: 60.89 kB / 0.757 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.893e-05/0.5055, allocations: 35.98 kB / 0.757 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004164/0.5059, allocations: 439 kB / 0.7574 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5059, allocations: 3.562 kB / 0.7574 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006348/0.5065, allocations: 303 kB / 0.7577 GB, free: 11.94 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.002971/0.5095, allocations: 1.959 MB / 0.7596 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001824/0.5113, allocations: 0.9183 MB / 0.7605 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5114, allocations: 7.984 kB / 0.7605 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007788/0.5121, allocations: 496.8 kB / 0.761 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.5132, allocations: 296.7 kB / 0.7613 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.5233, allocations: 6.638 MB / 0.7678 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.5237, allocations: 1.012 MB / 0.7687 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007055/0.5244, allocations: 266.1 kB / 0.769 GB, free: 464 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004407/0.5249, allocations: 383.3 kB / 0.7694 GB, free: 80 kB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.5249, allocations: 0 / 0.7694 GB, free: 80 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6795/1.204, allocations: 20 MB / 0.7889 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003591/1.205, allocations: 309.4 kB / 0.7892 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.138/3.343, allocations: 4 kB / 0.7892 GB, free: 12.11 MB / 0.6075 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)