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.001709/0.001709, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002307/0.002307, allocations: 196.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.374/2.374, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.612/1.612, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002407/0.002407, allocations: 69.33 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2278, allocations: 80.93 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.01088/0.2387, allocations: 4.038 MB / 0.5884 GB, free: 408 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6829/0.9216, allocations: 150.4 MB / 0.7353 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.9227, allocations: 19.59 kB / 0.7353 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.9239, allocations: 167.7 kB / 0.7355 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003577/0.9275, allocations: 466.9 kB / 0.7359 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004836/0.9323, allocations: 0.7789 MB / 0.7367 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002632/0.935, allocations: 1.149 MB / 0.7378 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002056/0.9371, allocations: 0.5944 MB / 0.7384 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.9385, allocations: 417.7 kB / 0.7388 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.9399, allocations: 437.1 kB / 0.7392 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005221/0.9404, allocations: 105.4 kB / 0.7393 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001919/0.9424, allocations: 438.2 kB / 0.7397 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006132/0.943, allocations: 267 kB / 0.74 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.9442, allocations: 491.8 kB / 0.7405 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003402/0.9476, allocations: 1.423 MB / 0.7419 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.9477, allocations: 0 / 0.7419 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.615e-06/0.9477, allocations: 0 / 0.7419 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.426e-05/0.9478, allocations: 4 kB / 0.7419 GB, free: 8.648 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.004822/0.9526, allocations: 1.305 MB / 0.7431 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/0.9527, allocations: 8.312 kB / 0.7431 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003563/0.9531, allocations: 122.9 kB / 0.7433 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.9547, allocations: 181.4 kB / 0.7434 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/0.9569, allocations: 0.6977 MB / 0.7441 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.503e-05/0.957, allocations: 63.23 kB / 0.7442 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/0.9572, allocations: 72.12 kB / 0.7442 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00284/0.9601, allocations: 0.8451 MB / 0.7451 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/0.9601, allocations: 1.969 kB / 0.7451 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.9603, allocations: 31 kB / 0.7451 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.571e-05/0.9603, allocations: 21.97 kB / 0.7451 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003183/0.9635, allocations: 1.046 MB / 0.7461 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007159/0.9707, allocations: 2.33 MB / 0.7484 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002457/0.9732, allocations: 0.7718 MB / 0.7492 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009576/0.9742, allocations: 268.8 kB / 0.7494 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.9744, allocations: 30.17 kB / 0.7495 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001421/0.9758, allocations: 417.3 kB / 0.7499 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 5.39e-06/0.9758, allocations: 0 / 0.7499 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.005604/0.9815, allocations: 1.05 MB / 0.7509 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001686/0.9817, allocations: 192.5 kB / 0.7511 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/0.9832, allocations: 0.586 MB / 0.7516 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001469/0.9834, allocations: 37.7 kB / 0.7517 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005239/0.9839, allocations: 368.3 kB / 0.752 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003685/0.9843, allocations: 232.6 kB / 0.7522 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003772/0.9847, allocations: 130.2 kB / 0.7524 GB, free: 436 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002379/0.985, allocations: 378.8 kB / 0.7527 GB, free: 48 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000932/0.9859, allocations: 209.3 kB / 0.7529 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.987, allocations: 314.7 kB / 0.7532 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/0.9886, allocations: 0.5 MB / 0.7537 GB, free: 15 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.9886, allocations: 4 kB / 0.7537 GB, free: 15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003521/0.9922, allocations: 0.7041 MB / 0.7544 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.9922, allocations: 12.03 kB / 0.7544 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.9923, allocations: 4 kB / 0.7544 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/0.9934, allocations: 76.77 kB / 0.7545 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.9946, allocations: 135.8 kB / 0.7546 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003743/0.9984, allocations: 1.63 MB / 0.7562 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.9996, allocations: 71.44 kB / 0.7563 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.9998, allocations: 25.3 kB / 0.7563 GB, free: 12.18 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.0007829/1.001, allocations: 249.8 kB / 0.7565 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004283/1.001, allocations: 71.06 kB / 0.7566 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0045/1.006, allocations: 0.9628 MB / 0.7576 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.539e-05/1.006, allocations: 8 kB / 0.7576 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.006, allocations: 0 / 0.7576 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.088e-05/1.006, allocations: 3.984 kB / 0.7576 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006132/1.012, allocations: 1.797 MB / 0.7593 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/1.012, allocations: 0 / 0.7593 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/1.013, allocations: 131.8 kB / 0.7594 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008543/1.014, allocations: 72.78 kB / 0.7595 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.943e-05/1.014, allocations: 31.86 kB / 0.7595 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003416/1.017, allocations: 1.65 MB / 0.7612 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.017, allocations: 0 / 0.7612 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00365/1.021, allocations: 0.8872 MB / 0.762 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007297/1.022, allocations: 247.9 kB / 0.7623 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/1.022, allocations: 20 kB / 0.7623 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/1.023, allocations: 55.94 kB / 0.7623 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/1.024, allocations: 57.06 kB / 0.7624 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/1.024, allocations: 39.95 kB / 0.7624 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001108/1.025, allocations: 422.7 kB / 0.7628 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.81e-07/1.025, allocations: 0 / 0.7628 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001594/1.027, allocations: 283.2 kB / 0.7631 GB, free: 4.984 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.00647/1.033, allocations: 1.936 MB / 0.765 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00419/1.037, allocations: 0.8755 MB / 0.7658 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.037, allocations: 0 / 0.7658 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001673/1.039, allocations: 480.7 kB / 0.7663 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/1.042, allocations: 282.1 kB / 0.7666 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01982/1.062, allocations: 5.925 MB / 0.7724 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/1.063, allocations: 0.9934 MB / 0.7733 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001823/1.065, allocations: 253.9 kB / 0.7736 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009021/1.066, allocations: 351.2 kB / 0.7739 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of SimCode: time 1.178e-05/1.066, allocations: 0 / 0.7739 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.22/1.286, allocations: 19.26 MB / 0.7927 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.5/23.79, allocations: 6.75 kB / 0.7927 GB, free: 7.07 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)