Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.001132/0.001132, 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.001073/0.001073, allocations: 192.8 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.146/1.146, 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.7867/0.7867, allocations: 135.1 MB / 425.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 64.02 kB / 0.505 GB, free: 5.523 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.116, allocations: 80.93 MB / 0.584 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004664/0.1207, allocations: 4.048 MB / 0.588 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3139/0.4346, allocations: 148.2 MB / 0.7327 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005194/0.4352, allocations: 15.88 kB / 0.7327 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.4356, allocations: 132.2 kB / 0.7328 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001131/0.4368, allocations: 417.2 kB / 0.7332 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.4382, allocations: 0.6957 MB / 0.7339 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008954/0.4391, allocations: 1.154 MB / 0.735 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006867/0.4398, allocations: 0.5858 MB / 0.7356 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003952/0.4402, allocations: 427 kB / 0.736 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003849/0.4406, allocations: 434.5 kB / 0.7364 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.606e-05/0.4407, allocations: 101.4 kB / 0.7365 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005284/0.4412, allocations: 445.1 kB / 0.737 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.4414, allocations: 263.1 kB / 0.7372 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003118/0.4417, allocations: 497.7 kB / 0.7377 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.4428, allocations: 1.412 MB / 0.7391 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4429, allocations: 1.094 kB / 0.7391 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.324e-06/0.4429, allocations: 0 / 0.7391 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.4429, allocations: 3.938 kB / 0.7391 GB, free: 10.72 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.001764/0.4446, allocations: 1.312 MB / 0.7403 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.4447, allocations: 9.625 kB / 0.7404 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000122/0.4448, allocations: 129.4 kB / 0.7405 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007771/0.4456, allocations: 171.1 kB / 0.7406 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007846/0.4464, allocations: 0.7005 MB / 0.7413 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/0.4464, allocations: 56.25 kB / 0.7414 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-05/0.4465, allocations: 73.5 kB / 0.7415 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.4477, allocations: 0.8377 MB / 0.7423 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.4478, allocations: 0 / 0.7423 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.947e-05/0.4478, allocations: 41.19 kB / 0.7423 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.4479, allocations: 18.28 kB / 0.7423 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.4492, allocations: 1.049 MB / 0.7434 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00284/0.452, allocations: 2.336 MB / 0.7456 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.4531, allocations: 0.7746 MB / 0.7464 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003925/0.4535, allocations: 265.8 kB / 0.7466 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.702e-05/0.4536, allocations: 37.44 kB / 0.7467 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006606/0.4542, allocations: 410 kB / 0.7471 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 1.773e-06/0.4542, allocations: 1.5 kB / 0.7471 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002533/0.4568, allocations: 1.055 MB / 0.7481 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.41e-05/0.4569, allocations: 188.5 kB / 0.7483 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005702/0.4574, allocations: 0.5821 MB / 0.7488 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.4575, allocations: 41.7 kB / 0.7489 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.4577, allocations: 368.3 kB / 0.7492 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.4579, allocations: 228.7 kB / 0.7495 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.4581, allocations: 126.2 kB / 0.7496 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.4582, allocations: 386.8 kB / 0.7499 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.4586, allocations: 209.2 kB / 0.7501 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/0.459, allocations: 310.7 kB / 0.7504 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008163/0.4599, allocations: 0.5078 MB / 0.7509 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4599, allocations: 0 / 0.7509 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001476/0.4613, allocations: 0.7041 MB / 0.7516 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.4614, allocations: 4 kB / 0.7516 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.4614, allocations: 3.656 kB / 0.7516 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000553/0.4619, allocations: 88.7 kB / 0.7517 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004988/0.4625, allocations: 131.9 kB / 0.7518 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/0.4642, allocations: 1.632 MB / 0.7534 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004517/0.4647, allocations: 72.25 kB / 0.7535 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.891e-05/0.4647, allocations: 31.98 kB / 0.7535 GB, free: 14.88 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 (73): * Single equations (assignments): 72 * 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.0002727/0.465, allocations: 245.8 kB / 0.7538 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.4652, allocations: 79.12 kB / 0.7538 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/0.4671, allocations: 0.9505 MB / 0.7548 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.4671, allocations: 12 kB / 0.7548 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.4671, allocations: 4 kB / 0.7548 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.4671, allocations: 3.984 kB / 0.7548 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/0.4697, allocations: 1.789 MB / 0.7565 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.4697, allocations: 0 / 0.7565 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004798/0.4702, allocations: 139.8 kB / 0.7567 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000404/0.4706, allocations: 72.78 kB / 0.7567 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.426e-05/0.4706, allocations: 27.86 kB / 0.7568 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/0.4723, allocations: 1.654 MB / 0.7584 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4723, allocations: 0 / 0.7584 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.4738, allocations: 0.8828 MB / 0.7592 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002454/0.4741, allocations: 247.9 kB / 0.7595 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.4742, allocations: 20 kB / 0.7595 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005137/0.4747, allocations: 59.88 kB / 0.7596 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.4748, allocations: 56.92 kB / 0.7596 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.187e-05/0.4749, allocations: 27.98 kB / 0.7596 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004111/0.4753, allocations: 427 kB / 0.76 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4753, allocations: 0 / 0.76 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005988/0.4759, allocations: 275.3 kB / 0.7603 GB, free: 7.695 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 (81): * Single equations (assignments): 78 * 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.002776/0.4787, allocations: 1.94 MB / 0.7622 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00167/0.4804, allocations: 0.8755 MB / 0.7631 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4804, allocations: 0 / 0.7631 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007196/0.4811, allocations: 484.7 kB / 0.7635 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.4823, allocations: 278.6 kB / 0.7638 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009645/0.4919, allocations: 6.275 MB / 0.7699 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.4924, allocations: 1.001 MB / 0.7709 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006604/0.4931, allocations: 246 kB / 0.7711 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004044/0.4935, allocations: 339.3 kB / 0.7715 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.4935, allocations: 0 / 0.7715 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.469/3.962, allocations: 19.11 MB / 0.7901 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/3.962, allocations: 305 kB / 0.7904 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/5.998, allocations: 3.938 kB / 0.7904 GB, free: 9.23 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)