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.001269/0.001269, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.001454/0.001454, allocations: 216 kB / 22.25 MB, free: 5.117 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.449/1.449, allocations: 230.6 MB / 256 MB, free: 8.027 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.002458/0.002458, allocations: 287.3 kB / 312.7 MB, free: 2.852 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.175/1.175, allocations: 180.6 MB / 0.5369 GB, free: 12.98 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.002839/0.002839, allocations: 103.7 kB / 0.7395 GB, free: 28.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1674, allocations: 95.39 MB / 0.8327 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003791/0.1711, allocations: 2.391 MB / 0.835 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.1725, allocations: 0.8765 MB / 0.8359 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.231e-05/0.1726, allocations: 7.938 kB / 0.8359 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005651/0.1732, allocations: 152.5 kB / 0.836 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.1734, allocations: 67.59 kB / 0.8361 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.1735, allocations: 63.86 kB / 0.8362 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.1738, allocations: 163.5 kB / 0.8363 GB, free: 5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002309/0.174, allocations: 92.84 kB / 0.8364 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.1742, allocations: 71.77 kB / 0.8365 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.1744, allocations: 67.67 kB / 0.8365 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.1744, allocations: 12 kB / 0.8366 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.1745, allocations: 67.88 kB / 0.8366 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.724e-05/0.1746, allocations: 35.91 kB / 0.8367 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.1747, allocations: 67.66 kB / 0.8367 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.175, allocations: 175.3 kB / 0.8369 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.175, allocations: 0 / 0.8369 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.175, allocations: 0 / 0.8369 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.175, allocations: 4 kB / 0.8369 GB, free: 4.414 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.0007086/0.1757, allocations: 421.2 kB / 0.8373 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.1757, allocations: 17.33 kB / 0.8373 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.819e-05/0.1758, allocations: 42.69 kB / 0.8374 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003386/0.1761, allocations: 36.81 kB / 0.8374 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.1764, allocations: 162.8 kB / 0.8375 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.29e-05/0.1764, allocations: 67.53 kB / 0.8376 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.1765, allocations: 12 kB / 0.8376 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.1767, allocations: 139 kB / 0.8378 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1767, allocations: 0 / 0.8378 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.1768, allocations: 11.98 kB / 0.8378 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.1768, allocations: 4 kB / 0.8378 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.177, allocations: 91.81 kB / 0.8379 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008789/0.1779, allocations: 0.6121 MB / 0.8385 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.1781, allocations: 58.48 kB / 0.8385 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.15e-05/0.1782, allocations: 24.92 kB / 0.8385 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.1782, allocations: 192 / 0.8385 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.1784, allocations: 150.7 kB / 0.8387 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.1784, allocations: 3.938 kB / 0.8387 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0003814/0.1788, allocations: 159.3 kB / 0.8388 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.1789, allocations: 144.5 kB / 0.839 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.1791, allocations: 183.2 kB / 0.8391 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.1791, allocations: 29.7 kB / 0.8392 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.1792, allocations: 140 kB / 0.8393 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.1792, allocations: 23.83 kB / 0.8393 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.401e-05/0.1793, allocations: 41.66 kB / 0.8394 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1794, allocations: 322.8 kB / 0.8397 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.042e-05/0.1795, allocations: 35.98 kB / 0.8397 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.1797, allocations: 110.1 kB / 0.8398 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.1799, allocations: 234.3 kB / 0.84 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1799, allocations: 4 kB / 0.84 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003697/0.1803, allocations: 240.6 kB / 0.8403 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.16e-05/0.1804, allocations: 63.41 kB / 0.8403 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.1804, allocations: 4 kB / 0.8403 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1804, allocations: 4.312 kB / 0.8403 GB, free: 500 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.1805, allocations: 27.98 kB / 0.8404 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1805, allocations: 11.88 kB / 0.8404 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.1807, allocations: 23.88 kB / 0.8404 GB, free: 436 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.1807, allocations: 12 kB / 0.8404 GB, free: 424 kB / 0.5762 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.0001441/0.1808, allocations: 163 kB / 0.8406 GB, free: 248 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.1808, allocations: 19.84 kB / 0.8406 GB, free: 228 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.042e-05/0.1809, allocations: 21.33 kB / 0.8406 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1809, allocations: 8 kB / 0.8406 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1809, allocations: 0 / 0.8406 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1809, allocations: 0 / 0.8406 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.1811, allocations: 192.6 kB / 0.8408 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1811, allocations: 3.938 kB / 0.8408 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.647e-05/0.1812, allocations: 8 kB / 0.8408 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/0.1812, allocations: 4 kB / 0.8408 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1812, allocations: 0 / 0.8408 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.1812, allocations: 3.984 kB / 0.8408 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1812, allocations: 0 / 0.8408 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.1816, allocations: 218.7 kB / 0.841 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.563e-05/0.1816, allocations: 15.88 kB / 0.841 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.1816, allocations: 0 / 0.841 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.619e-05/0.1817, allocations: 15.98 kB / 0.8411 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.065e-05/0.1818, allocations: 4 kB / 0.8411 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.1818, allocations: 11.92 kB / 0.8411 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001148/0.1819, allocations: 140.3 kB / 0.8412 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1819, allocations: 0 / 0.8412 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002426/0.1822, allocations: 35.94 kB / 0.8412 GB, free: 15.49 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.000673/0.1828, allocations: 0.7507 MB / 0.842 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003197/0.1832, allocations: 210.7 kB / 0.8422 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.1832, allocations: 0 / 0.8422 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.1833, allocations: 87.53 kB / 0.8423 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.1835, allocations: 27.95 kB / 0.8423 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.1858, allocations: 1.98 MB / 0.8442 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.1862, allocations: 0.7084 MB / 0.8449 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.501e-05/0.1862, allocations: 28.56 kB / 0.8449 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.81e-05/0.1863, allocations: 39.42 kB / 0.845 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.1863, allocations: 0 / 0.845 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03229/0.2186, allocations: 3.374 MB / 0.8483 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/10.69, allocations: 20.08 kB / 0.8483 GB, free: 8.18 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: 14.769539501001418] Failed to read output from testmodel.py, exit status != 0: 10.794005094001477 10.821789723 10.642087138 Calling exit ...