Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.004651/0.004651, allocations: 106.7 kB / 15.74 MB, free: 6.02 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.001316/0.001316, allocations: 195.4 kB / 16.68 MB, free: 5.93 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8341/0.8341, allocations: 132.2 MB / 422.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 63.91 kB / 0.5808 GB, free: 8.074 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3288, allocations: 80.2 MB / 0.6592 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005244/0.334, allocations: 4.912 MB / 0.664 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1735/0.5075, allocations: 150.9 MB / 0.8113 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007614/0.5083, allocations: 23.88 kB / 0.8114 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005574/0.5089, allocations: 182.2 kB / 0.8115 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.5106, allocations: 0.5915 MB / 0.8121 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001942/0.5126, allocations: 0.8858 MB / 0.813 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001666/0.5142, allocations: 1.593 MB / 0.8145 GB, free: 6.496 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.5156, allocations: 1.062 MB / 0.8156 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.5167, allocations: 0.6811 MB / 0.8162 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.5179, allocations: 0.735 MB / 0.817 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003438/0.5182, allocations: 175.9 kB / 0.8171 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.5193, allocations: 0.5231 MB / 0.8176 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004027/0.5197, allocations: 430.6 kB / 0.818 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007301/0.5204, allocations: 0.7771 MB / 0.8188 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002442/0.5229, allocations: 2.188 MB / 0.8209 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5229, allocations: 4 kB / 0.8209 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.896e-06/0.5229, allocations: 4 kB / 0.8209 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.987e-05/0.5229, allocations: 3.938 kB / 0.821 GB, free: 15.87 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.003179/0.5261, allocations: 1.827 MB / 0.8227 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.5261, allocations: 12.03 kB / 0.8227 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002476/0.5264, allocations: 211.3 kB / 0.8229 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.5274, allocations: 247.7 kB / 0.8232 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.5288, allocations: 0.9075 MB / 0.8241 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.092e-05/0.529, allocations: 102.9 kB / 0.8242 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.5291, allocations: 140 kB / 0.8243 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/0.5316, allocations: 1.428 MB / 0.8257 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/0.5317, allocations: 7.922 kB / 0.8257 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.5318, allocations: 64 kB / 0.8258 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.324e-05/0.5319, allocations: 32 kB / 0.8258 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002782/0.5346, allocations: 1.517 MB / 0.8273 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006163/0.5408, allocations: 3.734 MB / 0.8309 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/0.5428, allocations: 0.9549 MB / 0.8319 GB, free: 4.457 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000744/0.5435, allocations: 403.7 kB / 0.8322 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.5436, allocations: 48.94 kB / 0.8323 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/0.5447, allocations: 0.5827 MB / 0.8329 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=104): time 2.465e-06/0.5448, allocations: 0 / 0.8329 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of matching and sorting (n=104): time 0.004376/0.5491, allocations: 1.482 MB / 0.8343 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.5493, allocations: 189.1 kB / 0.8345 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.5503, allocations: 0.7668 MB / 0.8352 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.638e-05/0.5504, allocations: 53.64 kB / 0.8353 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004862/0.5509, allocations: 0.5673 MB / 0.8358 GB, free: 272 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/0.5512, allocations: 361.1 kB / 0.8362 GB, free: 15.91 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003343/0.5516, allocations: 198.5 kB / 0.8364 GB, free: 15.7 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.5518, allocations: 341.9 kB / 0.8367 GB, free: 15.36 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007147/0.5525, allocations: 337.8 kB / 0.837 GB, free: 15.04 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008443/0.5533, allocations: 466.5 kB / 0.8375 GB, free: 14.55 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.555, allocations: 0.8078 MB / 0.8383 GB, free: 13.73 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.555, allocations: 0 / 0.8383 GB, free: 13.73 MB / 0.67 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00256/0.5576, allocations: 1.068 MB / 0.8393 GB, free: 12.66 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.5576, allocations: 11.75 kB / 0.8393 GB, free: 12.65 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.5576, allocations: 0 / 0.8393 GB, free: 12.65 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006248/0.5583, allocations: 84.83 kB / 0.8394 GB, free: 12.57 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.5593, allocations: 211.7 kB / 0.8396 GB, free: 12.36 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/0.5618, allocations: 1.646 MB / 0.8412 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007322/0.5625, allocations: 115.2 kB / 0.8413 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-05/0.5626, allocations: 43.91 kB / 0.8414 GB, free: 10.41 MB / 0.67 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 (117): * Single equations (assignments): 116 * 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.000468/0.5631, allocations: 311.5 kB / 0.8416 GB, free: 10.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.5633, allocations: 107.3 kB / 0.8417 GB, free: 9.992 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003371/0.5667, allocations: 1.388 MB / 0.8431 GB, free: 8.59 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.5667, allocations: 8 kB / 0.8431 GB, free: 8.582 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5667, allocations: 4 kB / 0.8431 GB, free: 8.578 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.5667, allocations: 3.984 kB / 0.8431 GB, free: 8.574 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004567/0.5713, allocations: 2.564 MB / 0.8456 GB, free: 5.945 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.5713, allocations: 0 / 0.8456 GB, free: 5.945 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008583/0.5722, allocations: 195.7 kB / 0.8458 GB, free: 5.754 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004802/0.5727, allocations: 76.78 kB / 0.8459 GB, free: 5.676 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.045e-05/0.5728, allocations: 27.98 kB / 0.8459 GB, free: 5.648 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002405/0.5752, allocations: 1.674 MB / 0.8475 GB, free: 3.828 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5752, allocations: 3.984 kB / 0.8475 GB, free: 3.824 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/0.5777, allocations: 1.182 MB / 0.8487 GB, free: 2.621 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004978/0.5782, allocations: 324 kB / 0.849 GB, free: 2.285 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.5783, allocations: 35.83 kB / 0.849 GB, free: 2.25 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007238/0.5791, allocations: 55.95 kB / 0.8491 GB, free: 2.195 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.5793, allocations: 84.81 kB / 0.8492 GB, free: 2.113 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-05/0.5793, allocations: 35.98 kB / 0.8492 GB, free: 2.078 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009749/0.5803, allocations: 0.5771 MB / 0.8498 GB, free: 1.508 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5803, allocations: 0 / 0.8498 GB, free: 1.508 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009688/0.5813, allocations: 398.8 kB / 0.8502 GB, free: 1.117 MB / 0.67 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 (115): * Single equations (assignments): 112 * 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.00477/0.5861, allocations: 2.233 MB / 0.8523 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002103/0.5882, allocations: 0.9991 MB / 0.8533 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5882, allocations: 0 / 0.8533 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.5894, allocations: 0.6135 MB / 0.8539 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.5908, allocations: 308.3 kB / 0.8542 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/0.6059, allocations: 8.173 MB / 0.8622 GB, free: 4.844 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008765/0.6068, allocations: 1.166 MB / 0.8633 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009307/0.6077, allocations: 292.4 kB / 0.8636 GB, free: 3.355 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008949/0.6086, allocations: 0.5422 MB / 0.8641 GB, free: 2.812 MB / 0.6856 GB Notification: Performance of SimCode: time 4.51e-07/0.6086, allocations: 0 / 0.8641 GB, free: 2.812 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3161/0.9247, allocations: 26.22 MB / 0.8897 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.52, allocations: 12.81 kB / 0.8898 GB, free: 185.1 MB / 0.6856 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)