Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001843/0.001843, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.002244/0.002244, allocations: 222 kB / 23.01 MB, free: 5 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9665/0.9665, allocations: 150 MB / 463.2 MB, free: 10.51 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002044/0.002044, allocations: 70.69 kB / 0.6412 GB, free: 10.48 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1807, allocations: 89.17 MB / 0.7283 GB, free: 1.379 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004082/0.1847, allocations: 2.376 MB / 0.7306 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.1863, allocations: 0.8843 MB / 0.7315 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.343e-05/0.1864, allocations: 4 kB / 0.7315 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006641/0.1871, allocations: 155.3 kB / 0.7317 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.1873, allocations: 59.67 kB / 0.7317 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.1875, allocations: 71.8 kB / 0.7318 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.1877, allocations: 159.5 kB / 0.7319 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002398/0.188, allocations: 85.06 kB / 0.732 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.1882, allocations: 71.77 kB / 0.7321 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.1883, allocations: 75.61 kB / 0.7322 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.1884, allocations: 16 kB / 0.7322 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.1885, allocations: 63.88 kB / 0.7322 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.505e-05/0.1886, allocations: 35.91 kB / 0.7323 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.727e-05/0.1887, allocations: 67.66 kB / 0.7323 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.189, allocations: 179.3 kB / 0.7325 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.189, allocations: 0 / 0.7325 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.189, allocations: 0 / 0.7325 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.189, allocations: 0 / 0.7325 GB, free: 13.08 MB / 0.5606 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.0008732/0.1898, allocations: 425.2 kB / 0.7329 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1899, allocations: 12.03 kB / 0.7329 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.031e-05/0.1899, allocations: 46.67 kB / 0.733 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003022/0.1902, allocations: 32.83 kB / 0.733 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.1905, allocations: 162.8 kB / 0.7331 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.269e-05/0.1906, allocations: 71.45 kB / 0.7332 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.1906, allocations: 12 kB / 0.7332 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.191, allocations: 146.1 kB / 0.7334 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.191, allocations: 4 kB / 0.7334 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.191, allocations: 3.984 kB / 0.7334 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.191, allocations: 4 kB / 0.7334 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000217/0.1912, allocations: 95.81 kB / 0.7335 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00096/0.1922, allocations: 0.6043 MB / 0.7341 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.1924, allocations: 50.56 kB / 0.7341 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.769e-05/0.1925, allocations: 28.84 kB / 0.7341 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.1925, allocations: 4.188 kB / 0.7341 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002294/0.1927, allocations: 150.6 kB / 0.7343 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.1928, allocations: 4 kB / 0.7343 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004281/0.1932, allocations: 163.2 kB / 0.7344 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.817e-05/0.1933, allocations: 136.5 kB / 0.7346 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.1935, allocations: 182.7 kB / 0.7347 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.1935, allocations: 33.7 kB / 0.7348 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.1936, allocations: 136 kB / 0.7349 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.1936, allocations: 23.86 kB / 0.7349 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.1937, allocations: 37.7 kB / 0.735 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1939, allocations: 322.8 kB / 0.7353 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.889e-05/0.194, allocations: 43.91 kB / 0.7353 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.1941, allocations: 113.4 kB / 0.7354 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.1944, allocations: 230.4 kB / 0.7356 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1944, allocations: 0 / 0.7356 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003878/0.1948, allocations: 240.7 kB / 0.7359 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.291e-05/0.1949, allocations: 69.27 kB / 0.7359 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.1949, allocations: 4 kB / 0.7359 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.1949, allocations: 8 kB / 0.7359 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.195, allocations: 31.92 kB / 0.736 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.195, allocations: 7.938 kB / 0.736 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.1952, allocations: 28.08 kB / 0.736 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.1952, allocations: 16 kB / 0.736 GB, free: 9.066 MB / 0.5606 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.0001569/0.1953, allocations: 163.5 kB / 0.7362 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.1954, allocations: 15.89 kB / 0.7362 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.962e-05/0.1954, allocations: 13.41 kB / 0.7362 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.1954, allocations: 3.938 kB / 0.7362 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1954, allocations: 0 / 0.7362 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1954, allocations: 0 / 0.7362 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.1956, allocations: 196.6 kB / 0.7364 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1956, allocations: 7.938 kB / 0.7364 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.167e-05/0.1957, allocations: 11.98 kB / 0.7364 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1957, allocations: 3.938 kB / 0.7364 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.1957, allocations: 0 / 0.7364 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1957, allocations: 0 / 0.7364 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1957, allocations: 4 kB / 0.7364 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/0.1962, allocations: 206.7 kB / 0.7366 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.1962, allocations: 19.94 kB / 0.7366 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.1962, allocations: 4 kB / 0.7367 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.599e-05/0.1963, allocations: 11.98 kB / 0.7367 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/0.1964, allocations: 7.984 kB / 0.7367 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.1964, allocations: 4 kB / 0.7367 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001333/0.1965, allocations: 136.3 kB / 0.7368 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1965, allocations: 0 / 0.7368 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002678/0.1968, allocations: 31.94 kB / 0.7368 GB, free: 8.152 MB / 0.5606 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.0007361/0.1975, allocations: 0.7555 MB / 0.7376 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003618/0.1979, allocations: 207.3 kB / 0.7378 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1979, allocations: 0 / 0.7378 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.198, allocations: 99.38 kB / 0.7379 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.1982, allocations: 17.95 kB / 0.7379 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.2007, allocations: 1.986 MB / 0.7398 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.2011, allocations: 0.7123 MB / 0.7405 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.018e-05/0.2012, allocations: 20.64 kB / 0.7405 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/0.2012, allocations: 43.36 kB / 0.7406 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.2012, allocations: 0 / 0.7406 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03188/0.2331, allocations: 3.373 MB / 0.7439 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.45, allocations: 12.59 kB / 0.7439 GB, free: 0.8477 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.38304047299971] Failed to read output from testmodel.py, exit status != 0: 11.55976555700181 11.578333373 11.385805808 Calling exit ...