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.001806/0.001806, allocations: 110.1 kB / 16.46 MB, free: 6.453 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.002172/0.002172, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.429/1.429, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002469/0.002469, allocations: 295.6 kB / 309.1 MB, free: 3.965 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.201/1.201, allocations: 180.9 MB / 0.5333 GB, free: 13.76 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 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.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.002782/0.002782, allocations: 95.75 kB / 0.7342 GB, free: 28.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1794, allocations: 95.35 MB / 0.8273 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004062/0.1835, allocations: 2.353 MB / 0.8296 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.1849, allocations: 0.8532 MB / 0.8305 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.982e-05/0.185, allocations: 7.938 kB / 0.8305 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005842/0.1856, allocations: 151.4 kB / 0.8306 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.1858, allocations: 71.59 kB / 0.8307 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.1859, allocations: 55.88 kB / 0.8307 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.1862, allocations: 167.5 kB / 0.8309 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002312/0.1864, allocations: 76.86 kB / 0.831 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.1866, allocations: 79.64 kB / 0.831 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.1868, allocations: 67.73 kB / 0.8311 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.1868, allocations: 16 kB / 0.8311 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.1869, allocations: 63.88 kB / 0.8312 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.003e-05/0.187, allocations: 43.78 kB / 0.8312 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.647e-05/0.187, allocations: 67.66 kB / 0.8313 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.1873, allocations: 175.3 kB / 0.8315 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.1873, allocations: 0 / 0.8315 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.993e-06/0.1873, allocations: 0 / 0.8315 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.1873, allocations: 0 / 0.8315 GB, free: 5.629 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.0007718/0.1881, allocations: 490.4 kB / 0.8319 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1881, allocations: 16.03 kB / 0.8319 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.66e-05/0.1882, allocations: 50.72 kB / 0.832 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003021/0.1885, allocations: 36.81 kB / 0.832 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.1888, allocations: 216.6 kB / 0.8322 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.968e-05/0.1888, allocations: 41.83 kB / 0.8323 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.1889, allocations: 8 kB / 0.8323 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.1891, allocations: 148.2 kB / 0.8324 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1892, allocations: 3.938 kB / 0.8324 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.1892, allocations: 4 kB / 0.8324 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.1892, allocations: 8 kB / 0.8324 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002134/0.1894, allocations: 91.81 kB / 0.8325 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008921/0.1903, allocations: 0.6403 MB / 0.8331 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.1906, allocations: 58.48 kB / 0.8332 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.913e-05/0.1906, allocations: 28.91 kB / 0.8332 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.1906, allocations: 192 / 0.8332 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.1909, allocations: 146.7 kB / 0.8334 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.1909, allocations: 0 / 0.8334 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0003849/0.1912, allocations: 163.2 kB / 0.8335 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.812e-05/0.1913, allocations: 136.4 kB / 0.8337 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.1916, allocations: 191.7 kB / 0.8338 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.1916, allocations: 25.7 kB / 0.8339 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.1917, allocations: 144 kB / 0.834 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.1917, allocations: 23.86 kB / 0.834 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.971e-05/0.1918, allocations: 37.7 kB / 0.8341 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.192, allocations: 326.8 kB / 0.8344 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.581e-05/0.192, allocations: 31.98 kB / 0.8344 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.1922, allocations: 115.3 kB / 0.8345 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.1925, allocations: 230.3 kB / 0.8347 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1925, allocations: 0 / 0.8347 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004089/0.1929, allocations: 252.6 kB / 0.835 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.332e-05/0.193, allocations: 59.41 kB / 0.835 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.193, allocations: 4 kB / 0.835 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.193, allocations: 0 / 0.835 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.1931, allocations: 27.98 kB / 0.8351 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.1931, allocations: 11.92 kB / 0.8351 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.1933, allocations: 24.2 kB / 0.8351 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.1933, allocations: 12 kB / 0.8351 GB, free: 1.461 MB / 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.0001562/0.1934, allocations: 167.5 kB / 0.8353 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.1935, allocations: 19.84 kB / 0.8353 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.1935, allocations: 17.39 kB / 0.8353 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1935, allocations: 3.938 kB / 0.8353 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1935, allocations: 7.938 kB / 0.8353 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1935, allocations: 0 / 0.8353 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.1937, allocations: 213.6 kB / 0.8355 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.1937, allocations: 3.938 kB / 0.8355 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.972e-05/0.1938, allocations: 15.98 kB / 0.8355 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1938, allocations: 0 / 0.8355 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.1938, allocations: 4 kB / 0.8355 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1938, allocations: 0 / 0.8355 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1938, allocations: 0 / 0.8355 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004163/0.1942, allocations: 210.7 kB / 0.8357 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.039e-05/0.1943, allocations: 96.98 kB / 0.8358 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.1943, allocations: 8.062 kB / 0.8358 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.362e-05/0.1944, allocations: 11.98 kB / 0.8358 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.1945, allocations: 7.984 kB / 0.8359 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.1945, allocations: 4 kB / 0.8359 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001153/0.1946, allocations: 131.2 kB / 0.836 GB, free: 460 kB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1946, allocations: 4 kB / 0.836 GB, free: 456 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002483/0.1948, allocations: 31.94 kB / 0.836 GB, free: 424 kB / 0.5762 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.0007244/0.1956, allocations: 0.7549 MB / 0.8368 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003382/0.1959, allocations: 214.6 kB / 0.837 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1959, allocations: 0.6875 kB / 0.837 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.196, allocations: 99.5 kB / 0.8371 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.1963, allocations: 17.95 kB / 0.8371 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.1987, allocations: 1.963 MB / 0.839 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.1991, allocations: 0.7162 MB / 0.8397 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.254e-05/0.1992, allocations: 20.62 kB / 0.8397 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.979e-05/0.1992, allocations: 39.42 kB / 0.8397 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.1993, allocations: 4.047 kB / 0.8397 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.2261, allocations: 3.2 MB / 0.8429 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.063/8.289, allocations: 4.703 kB / 0.8429 GB, free: 9.273 MB / 0.5919 GB " [Timeout remaining time 652] (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: 12.450105333235115] Failed to read output from testmodel.py, exit status != 0: 8.35767908534035 8.372108997 8.181894142 Calling exit ...