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.004528/0.004533, allocations: 106.2 kB / 15.74 MB, free: 6.445 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.001271/0.001271, allocations: 195.8 kB / 16.67 MB, free: 6.352 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9597/0.9597, allocations: 135.6 MB / 426.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 64.08 kB / 0.5857 GB, free: 3.172 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3392, allocations: 81.02 MB / 0.6649 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004314/0.3436, allocations: 4.042 MB / 0.6688 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1693/0.5129, allocations: 150.4 MB / 0.8157 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006174/0.5135, allocations: 19.88 kB / 0.8157 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005028/0.514, allocations: 166.5 kB / 0.8159 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.5155, allocations: 480 kB / 0.8164 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.5173, allocations: 0.7724 MB / 0.8171 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00132/0.5186, allocations: 1.16 MB / 0.8183 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008391/0.5194, allocations: 0.5981 MB / 0.8188 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005085/0.52, allocations: 422.4 kB / 0.8192 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005136/0.5205, allocations: 434.1 kB / 0.8197 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.5206, allocations: 100 kB / 0.8197 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000803/0.5214, allocations: 471.6 kB / 0.8202 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002648/0.5217, allocations: 263.1 kB / 0.8204 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000458/0.5222, allocations: 489.4 kB / 0.8209 GB, free: 484 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.5239, allocations: 1.468 MB / 0.8223 GB, free: 15 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.5239, allocations: 0 / 0.8223 GB, free: 15 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5239, allocations: 4 kB / 0.8224 GB, free: 15 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.5239, allocations: 0 / 0.8224 GB, free: 15 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.00219/0.5261, allocations: 1.34 MB / 0.8237 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.5262, allocations: 12.03 kB / 0.8237 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001526/0.5263, allocations: 127 kB / 0.8238 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009015/0.5272, allocations: 172.1 kB / 0.824 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.5284, allocations: 0.7271 MB / 0.8247 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.393e-05/0.5284, allocations: 58 kB / 0.8247 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.5285, allocations: 76 kB / 0.8248 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.53, allocations: 0.8442 MB / 0.8256 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.53, allocations: 4 kB / 0.8256 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-05/0.5301, allocations: 32 kB / 0.8257 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.5302, allocations: 20 kB / 0.8257 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.5319, allocations: 1.042 MB / 0.8267 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003649/0.5356, allocations: 2.309 MB / 0.8289 GB, free: 8.031 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.537, allocations: 0.7755 MB / 0.8297 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000526/0.5375, allocations: 274.4 kB / 0.83 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.752e-05/0.5376, allocations: 32.59 kB / 0.83 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000782/0.5384, allocations: 410.8 kB / 0.8304 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 1.963e-06/0.5384, allocations: 0 / 0.8304 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.003003/0.5414, allocations: 1.062 MB / 0.8314 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.5416, allocations: 188.5 kB / 0.8316 GB, free: 5.199 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007354/0.5423, allocations: 0.5861 MB / 0.8322 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.665e-05/0.5424, allocations: 37.7 kB / 0.8322 GB, free: 4.562 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002973/0.5427, allocations: 372.8 kB / 0.8326 GB, free: 4.191 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/0.5429, allocations: 245.9 kB / 0.8328 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/0.5431, allocations: 130.2 kB / 0.8329 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.5433, allocations: 382.8 kB / 0.8333 GB, free: 3.434 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004502/0.5438, allocations: 205.2 kB / 0.8335 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005751/0.5443, allocations: 310.8 kB / 0.8338 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.5454, allocations: 0.5117 MB / 0.8343 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5454, allocations: 0 / 0.8343 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001771/0.5471, allocations: 0.7083 MB / 0.835 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.5472, allocations: 4 kB / 0.835 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5472, allocations: 8.094 kB / 0.835 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005982/0.5478, allocations: 76.78 kB / 0.8351 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000541/0.5483, allocations: 135.8 kB / 0.8352 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.5505, allocations: 1.629 MB / 0.8368 GB, free: 15.67 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/0.5511, allocations: 75.66 kB / 0.8369 GB, free: 15.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.638e-05/0.5511, allocations: 27.97 kB / 0.8369 GB, free: 15.57 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 (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.0003318/0.5515, allocations: 245.6 kB / 0.8371 GB, free: 15.32 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.5516, allocations: 83.47 kB / 0.8372 GB, free: 15.24 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/0.5539, allocations: 0.9471 MB / 0.8381 GB, free: 14.29 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.5539, allocations: 8 kB / 0.8381 GB, free: 14.28 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.5539, allocations: 4.094 kB / 0.8381 GB, free: 14.27 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.5539, allocations: 7.969 kB / 0.8381 GB, free: 14.27 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003077/0.557, allocations: 1.806 MB / 0.8399 GB, free: 12.39 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.557, allocations: 0 / 0.8399 GB, free: 12.39 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005468/0.5576, allocations: 135.8 kB / 0.84 GB, free: 12.26 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004544/0.5581, allocations: 72.73 kB / 0.8401 GB, free: 12.19 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.313e-05/0.5581, allocations: 23.98 kB / 0.8401 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/0.5601, allocations: 1.646 MB / 0.8417 GB, free: 10.38 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5601, allocations: 4.062 kB / 0.8417 GB, free: 10.37 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.562, allocations: 0.8955 MB / 0.8426 GB, free: 9.457 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003068/0.5623, allocations: 248.3 kB / 0.8428 GB, free: 9.195 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.5624, allocations: 23.92 kB / 0.8429 GB, free: 9.172 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005363/0.563, allocations: 54.23 kB / 0.8429 GB, free: 9.121 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.5631, allocations: 60.91 kB / 0.843 GB, free: 9.062 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-05/0.5632, allocations: 31.98 kB / 0.843 GB, free: 9.031 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005237/0.5637, allocations: 427 kB / 0.8434 GB, free: 8.617 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5637, allocations: 4 kB / 0.8434 GB, free: 8.613 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007272/0.5644, allocations: 283.2 kB / 0.8437 GB, free: 8.336 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 (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.003879/0.5683, allocations: 1.917 MB / 0.8456 GB, free: 6.57 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.5698, allocations: 0.7159 MB / 0.8463 GB, free: 5.84 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5699, allocations: 0 / 0.8463 GB, free: 5.84 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008773/0.5707, allocations: 476.5 kB / 0.8467 GB, free: 5.363 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.5719, allocations: 300.2 kB / 0.847 GB, free: 5.105 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.5822, allocations: 5.779 MB / 0.8526 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006463/0.5829, allocations: 0.9875 MB / 0.8536 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007597/0.5837, allocations: 242 kB / 0.8538 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005124/0.5842, allocations: 351.3 kB / 0.8542 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of SimCode: time 5.01e-07/0.5842, allocations: 0 / 0.8542 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3117/0.8959, allocations: 19.47 MB / 0.8732 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.58, allocations: 11.92 kB / 0.8732 GB, free: 189.5 MB / 0.6856 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)