Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="BuildingSystems_BuildingSystems_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.00106/0.00106, 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.001128/0.001128, allocations: 197 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 1.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002061/0.002061, allocations: 287 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9401/0.9401, allocations: 169.2 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 101.4 kB / 0.5953 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1509, allocations: 86.98 MB / 0.6803 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005748/0.1567, allocations: 4.28 MB / 0.6845 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4316/0.5883, allocations: 150.5 MB / 0.8315 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007096/0.589, allocations: 20.38 kB / 0.8315 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004576/0.5895, allocations: 174 kB / 0.8316 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.5909, allocations: 0.4951 MB / 0.8321 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.5925, allocations: 0.8122 MB / 0.8329 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001025/0.5935, allocations: 1.284 MB / 0.8342 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007319/0.5942, allocations: 0.6069 MB / 0.8348 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004871/0.5947, allocations: 464.3 kB / 0.8352 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004377/0.5952, allocations: 486.8 kB / 0.8357 GB, free: 404 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.5954, allocations: 117.7 kB / 0.8358 GB, free: 400 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007745/0.5961, allocations: 458.2 kB / 0.8362 GB, free: 384 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002101/0.5964, allocations: 290.9 kB / 0.8365 GB, free: 336 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003565/0.5967, allocations: 0.5292 MB / 0.837 GB, free: 168 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.598, allocations: 1.546 MB / 0.8385 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5981, allocations: 2.75 kB / 0.8385 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.193e-06/0.5981, allocations: 0 / 0.8385 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.594e-05/0.5981, allocations: 0 / 0.8385 GB, free: 15.94 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002223/0.6003, allocations: 1.406 MB / 0.8399 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.6004, allocations: 13.23 kB / 0.8399 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001396/0.6005, allocations: 132 kB / 0.84 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008808/0.6014, allocations: 181 kB / 0.8402 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008841/0.6023, allocations: 0.7385 MB / 0.8409 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.687e-05/0.6023, allocations: 58.47 kB / 0.841 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.271e-05/0.6024, allocations: 85.06 kB / 0.8411 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.6038, allocations: 0.903 MB / 0.8419 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.6038, allocations: 0 / 0.8419 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.781e-05/0.6039, allocations: 40.45 kB / 0.842 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.6039, allocations: 20.19 kB / 0.842 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.6056, allocations: 1.095 MB / 0.8431 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003601/0.6092, allocations: 2.479 MB / 0.8455 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.6107, allocations: 0.8624 MB / 0.8463 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/0.6112, allocations: 293.9 kB / 0.8466 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.239e-05/0.6113, allocations: 39.73 kB / 0.8467 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008617/0.6121, allocations: 496.6 kB / 0.8471 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.625e-06/0.6121, allocations: 0 / 0.8471 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79): time 0.003022/0.6152, allocations: 1.168 MB / 0.8483 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.6153, allocations: 196.4 kB / 0.8485 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007059/0.616, allocations: 0.6129 MB / 0.8491 GB, free: 10 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.372e-05/0.6161, allocations: 42.89 kB / 0.8491 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002966/0.6164, allocations: 403.6 kB / 0.8495 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.6166, allocations: 253 kB / 0.8497 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.6168, allocations: 147.2 kB / 0.8499 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.617, allocations: 388.3 kB / 0.8502 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004537/0.6175, allocations: 238.3 kB / 0.8505 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000567/0.618, allocations: 353.3 kB / 0.8508 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.6191, allocations: 0.5676 MB / 0.8514 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.6191, allocations: 4 kB / 0.8514 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001747/0.6208, allocations: 0.7879 MB / 0.8521 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.6208, allocations: 5.531 kB / 0.8521 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.6209, allocations: 0 / 0.8521 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005909/0.6215, allocations: 85.7 kB / 0.8522 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/0.622, allocations: 145.5 kB / 0.8524 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/0.6241, allocations: 1.626 MB / 0.8539 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006435/0.6247, allocations: 85.7 kB / 0.854 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.836e-05/0.6248, allocations: 36.56 kB / 0.8541 GB, free: 6.133 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: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0003532/0.6252, allocations: 266.9 kB / 0.8543 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.6253, allocations: 83.97 kB / 0.8544 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/0.6277, allocations: 1.05 MB / 0.8554 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.6277, allocations: 7.375 kB / 0.8554 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.6277, allocations: 3 kB / 0.8554 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.6277, allocations: 11.95 kB / 0.8554 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003204/0.6309, allocations: 1.916 MB / 0.8573 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.631, allocations: 0 / 0.8573 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000529/0.6315, allocations: 150.3 kB / 0.8574 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004311/0.6319, allocations: 72 kB / 0.8575 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.388e-05/0.632, allocations: 23.45 kB / 0.8575 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/0.6339, allocations: 1.656 MB / 0.8592 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.6339, allocations: 3.938 kB / 0.8592 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/0.6359, allocations: 0.9805 MB / 0.8601 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003364/0.6362, allocations: 275.4 kB / 0.8604 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.6363, allocations: 17.28 kB / 0.8604 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006585/0.637, allocations: 61.86 kB / 0.8605 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.6372, allocations: 66.19 kB / 0.8605 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/0.6372, allocations: 42.28 kB / 0.8606 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005395/0.6378, allocations: 451.3 kB / 0.861 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6378, allocations: 0 / 0.861 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008616/0.6387, allocations: 302 kB / 0.8613 GB, free: 1.082 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00357/0.6422, allocations: 2.034 MB / 0.8633 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002236/0.6445, allocations: 0.9841 MB / 0.8642 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6445, allocations: 3.938 kB / 0.8642 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009157/0.6454, allocations: 0.5127 MB / 0.8647 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.6467, allocations: 299.7 kB / 0.865 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/0.658, allocations: 6.443 MB / 0.8713 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000645/0.6587, allocations: 1.012 MB / 0.8723 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008876/0.6596, allocations: 255.4 kB / 0.8725 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005572/0.6601, allocations: 373.8 kB / 0.8729 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/0.6602, allocations: 4 kB / 0.8729 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05221/0.7124, allocations: 20.71 MB / 0.8931 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.7, allocations: 16.8 kB / 0.8931 GB, free: 6.422 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)