Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002251/0.002251, allocations: 210.2 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00387/0.00387, allocations: 292.9 kB / 312.7 MB, free: 2.625 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.296/1.296, allocations: 180.6 MB / 0.5369 GB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00298/0.00298, allocations: 109.4 kB / 0.7395 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1645, allocations: 95.38 MB / 0.8326 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003887/0.1684, allocations: 2.314 MB / 0.8349 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.1698, allocations: 0.8221 MB / 0.8357 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.915e-05/0.1698, allocations: 0 / 0.8357 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005447/0.1704, allocations: 135.5 kB / 0.8358 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.1706, allocations: 75.53 kB / 0.8359 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.1708, allocations: 67.8 kB / 0.8359 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.171, allocations: 159.5 kB / 0.8361 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.1712, allocations: 80.95 kB / 0.8362 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.1714, allocations: 75.77 kB / 0.8362 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.1715, allocations: 75.59 kB / 0.8363 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.1715, allocations: 12 kB / 0.8363 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.1717, allocations: 55.89 kB / 0.8364 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.218e-05/0.1717, allocations: 35.84 kB / 0.8364 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.545e-05/0.1718, allocations: 51.73 kB / 0.8365 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.1721, allocations: 179.3 kB / 0.8366 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1721, allocations: 4 kB / 0.8366 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1721, allocations: 0 / 0.8366 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.1721, allocations: 0 / 0.8366 GB, free: 4.258 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007168/0.1728, allocations: 433.1 kB / 0.8371 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1728, allocations: 9.938 kB / 0.8371 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.43e-05/0.1729, allocations: 38.75 kB / 0.8371 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002753/0.1732, allocations: 40.81 kB / 0.8371 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.1734, allocations: 165.2 kB / 0.8373 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.131e-05/0.1735, allocations: 63.53 kB / 0.8374 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.1735, allocations: 12 kB / 0.8374 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.1739, allocations: 180.3 kB / 0.8375 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.1739, allocations: 4 kB / 0.8375 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.1739, allocations: 4 kB / 0.8375 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.1739, allocations: 8 kB / 0.8376 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.1742, allocations: 121.5 kB / 0.8377 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008703/0.175, allocations: 0.577 MB / 0.8382 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.1753, allocations: 84.25 kB / 0.8383 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.346e-05/0.1754, allocations: 58.61 kB / 0.8384 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.1754, allocations: 4.188 kB / 0.8384 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.1756, allocations: 174.5 kB / 0.8385 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.1756, allocations: 0 / 0.8385 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0004261/0.176, allocations: 222.7 kB / 0.8388 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.665e-05/0.1761, allocations: 132.5 kB / 0.8389 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1763, allocations: 194.7 kB / 0.8391 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.1763, allocations: 29.7 kB / 0.8391 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.677e-05/0.1764, allocations: 140 kB / 0.8392 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.1764, allocations: 31.78 kB / 0.8393 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.555e-05/0.1765, allocations: 33.7 kB / 0.8393 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1767, allocations: 326.8 kB / 0.8396 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.1768, allocations: 95.38 kB / 0.8397 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.177, allocations: 171.1 kB / 0.8399 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.1772, allocations: 234.3 kB / 0.8401 GB, free: 316 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1772, allocations: 0 / 0.8401 GB, free: 316 kB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004386/0.1777, allocations: 316.2 kB / 0.8404 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.146e-05/0.1777, allocations: 63.41 kB / 0.8404 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1777, allocations: 0 / 0.8404 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1778, allocations: 4 kB / 0.8404 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.1779, allocations: 31.92 kB / 0.8405 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.1779, allocations: 4.312 kB / 0.8405 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.178, allocations: 27.83 kB / 0.8405 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.178, allocations: 12 kB / 0.8405 GB, free: 15.82 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.1782, allocations: 165 kB / 0.8407 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.1782, allocations: 15.89 kB / 0.8407 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.493e-05/0.1783, allocations: 17.39 kB / 0.8407 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1783, allocations: 0 / 0.8407 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1783, allocations: 0 / 0.8407 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1783, allocations: 0 / 0.8407 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.1784, allocations: 172.7 kB / 0.8409 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1784, allocations: 7.938 kB / 0.8409 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.572e-05/0.1785, allocations: 11.98 kB / 0.8409 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1785, allocations: 0 / 0.8409 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.1785, allocations: 4 kB / 0.8409 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1785, allocations: 4 kB / 0.8409 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1785, allocations: 0 / 0.8409 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004415/0.179, allocations: 294 kB / 0.8412 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.954e-05/0.179, allocations: 19.81 kB / 0.8412 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.179, allocations: 4 kB / 0.8412 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.532e-05/0.1791, allocations: 11.98 kB / 0.8412 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.1792, allocations: 11.98 kB / 0.8412 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.1792, allocations: 0 / 0.8412 GB, free: 15 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001216/0.1793, allocations: 140.3 kB / 0.8414 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1793, allocations: 4.062 kB / 0.8414 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002587/0.1796, allocations: 28 kB / 0.8414 GB, free: 14.83 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007448/0.1803, allocations: 0.8165 MB / 0.8422 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003869/0.1807, allocations: 295.7 kB / 0.8425 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1807, allocations: 4.625 kB / 0.8425 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.1809, allocations: 121.1 kB / 0.8426 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.1811, allocations: 15.98 kB / 0.8426 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.1836, allocations: 2.246 MB / 0.8448 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.1837, allocations: 110.7 kB / 0.8449 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.366e-05/0.1838, allocations: 20.64 kB / 0.8449 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.944e-05/0.1839, allocations: 35.42 kB / 0.845 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.1839, allocations: 0 / 0.845 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.2162, allocations: 3.769 MB / 0.8486 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.26, allocations: 1.875 kB / 0.8486 GB, free: 7.242 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildingSystems_BuildingSystems_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.618780833203346] Failed to read output from testmodel.py, exit status != 0: 11.377279495354742 11.404377305 11.227295473 Calling exit ...