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.001215/0.001215, 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.001185/0.001185, allocations: 189.6 kB / 16.25 MB, free: 6.637 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.175/1.175, 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-master/package.mo): time 0.8151/0.8151, allocations: 135.1 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.001161, allocations: 60.22 kB / 0.505 GB, free: 5.543 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1196, allocations: 80.94 MB / 0.584 GB, free: 4.77 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005033/0.1247, allocations: 4.134 MB / 0.588 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3263/0.451, allocations: 148.3 MB / 0.7328 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000589/0.4517, allocations: 18.66 kB / 0.7328 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005443/0.4522, allocations: 133.6 kB / 0.733 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.4537, allocations: 421.5 kB / 0.7334 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.4553, allocations: 0.7126 MB / 0.7341 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.4566, allocations: 1.188 MB / 0.7352 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008758/0.4575, allocations: 0.6767 MB / 0.7359 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006026/0.4581, allocations: 458.6 kB / 0.7363 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004665/0.4586, allocations: 479.5 kB / 0.7368 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.4587, allocations: 116.5 kB / 0.7369 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006598/0.4594, allocations: 472.1 kB / 0.7374 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002024/0.4596, allocations: 292.5 kB / 0.7376 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003403/0.46, allocations: 0.5308 MB / 0.7381 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001252/0.4612, allocations: 1.524 MB / 0.7396 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.4612, allocations: 0 / 0.7396 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4612, allocations: 0 / 0.7396 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.4613, allocations: 1.469 kB / 0.7396 GB, free: 10.12 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.001918/0.4632, allocations: 1.378 MB / 0.741 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.4632, allocations: 9.625 kB / 0.741 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001409/0.4634, allocations: 151.5 kB / 0.7411 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009812/0.4644, allocations: 198.4 kB / 0.7413 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008347/0.4652, allocations: 0.7249 MB / 0.742 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.468e-05/0.4653, allocations: 71.95 kB / 0.7421 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.4654, allocations: 86.09 kB / 0.7422 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.4668, allocations: 0.9442 MB / 0.7431 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.4668, allocations: 0 / 0.7431 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.806e-05/0.4669, allocations: 44.86 kB / 0.7432 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.4669, allocations: 21.06 kB / 0.7432 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.4684, allocations: 1.125 MB / 0.7443 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003254/0.4717, allocations: 2.48 MB / 0.7467 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/0.4737, allocations: 0.8812 MB / 0.7476 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004658/0.4741, allocations: 283.5 kB / 0.7478 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.505e-05/0.4742, allocations: 36.67 kB / 0.7479 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007393/0.475, allocations: 442.3 kB / 0.7483 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 1.883e-06/0.475, allocations: 0 / 0.7483 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002654/0.4776, allocations: 1.088 MB / 0.7493 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/0.4777, allocations: 188.6 kB / 0.7495 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005974/0.4783, allocations: 0.6095 MB / 0.7501 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.562e-05/0.4784, allocations: 41.7 kB / 0.7502 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.4786, allocations: 404.2 kB / 0.7505 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.4788, allocations: 236.5 kB / 0.7508 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.479, allocations: 130.2 kB / 0.7509 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4791, allocations: 390.7 kB / 0.7513 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004227/0.4795, allocations: 217.2 kB / 0.7515 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005066/0.4801, allocations: 326.7 kB / 0.7518 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009294/0.481, allocations: 0.5433 MB / 0.7523 GB, free: 144 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.481, allocations: 2.062 kB / 0.7523 GB, free: 144 kB / 0.5606 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001645/0.4826, allocations: 0.7277 MB / 0.753 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.4827, allocations: 4 kB / 0.753 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4827, allocations: 0 / 0.753 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005755/0.4833, allocations: 84.86 kB / 0.7531 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00056/0.4838, allocations: 143.8 kB / 0.7532 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/0.4857, allocations: 1.638 MB / 0.7548 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005329/0.4862, allocations: 79.33 kB / 0.7549 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/0.4863, allocations: 27.98 kB / 0.755 GB, free: 13.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.0003076/0.4866, allocations: 253.6 kB / 0.7552 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.4867, allocations: 79.12 kB / 0.7553 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002134/0.4889, allocations: 1.003 MB / 0.7562 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.4889, allocations: 8.062 kB / 0.7563 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4889, allocations: 4 kB / 0.7563 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.4889, allocations: 7.922 kB / 0.7563 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002885/0.4918, allocations: 1.9 MB / 0.7581 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4918, allocations: 3.562 kB / 0.7581 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005698/0.4924, allocations: 147.8 kB / 0.7583 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004048/0.4928, allocations: 68.8 kB / 0.7583 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.212e-05/0.4929, allocations: 23.98 kB / 0.7584 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/0.4945, allocations: 1.666 MB / 0.76 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4945, allocations: 0 / 0.76 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.4962, allocations: 0.9218 MB / 0.7609 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002764/0.4965, allocations: 255.8 kB / 0.7611 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.4966, allocations: 12 kB / 0.7611 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005718/0.4972, allocations: 61.97 kB / 0.7612 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.4973, allocations: 60.91 kB / 0.7613 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.03e-05/0.4974, allocations: 36.05 kB / 0.7613 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004381/0.4978, allocations: 439 kB / 0.7617 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4978, allocations: 3.938 kB / 0.7617 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000673/0.4985, allocations: 295.1 kB / 0.762 GB, free: 5.82 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.003048/0.5016, allocations: 1.961 MB / 0.7639 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001884/0.5035, allocations: 0.9222 MB / 0.7648 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5035, allocations: 0 / 0.7648 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008081/0.5043, allocations: 0.4968 MB / 0.7653 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.5054, allocations: 284 kB / 0.7656 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.5158, allocations: 6.641 MB / 0.7721 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/0.5163, allocations: 1.017 MB / 0.773 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007599/0.5171, allocations: 262.3 kB / 0.7733 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000465/0.5176, allocations: 375.3 kB / 0.7737 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.5176, allocations: 3.938 kB / 0.7737 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.11/1.627, allocations: 20.02 MB / 0.7932 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002791/1.628, allocations: 308.2 kB / 0.7935 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.292/3.919, allocations: 0 / 0.7935 GB, free: 5.934 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)