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.001559/0.001559, allocations: 119 kB / 17.84 MB, free: 5.312 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.00138/0.00138, allocations: 202.3 kB / 20.8 MB, free: 2.375 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.484/1.484, allocations: 230.6 MB / 254.2 MB, free: 15.11 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.9651/0.9651, allocations: 150 MB / 460.2 MB, free: 5.746 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="cs",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.00208/0.00208, allocations: 66.81 kB / 0.6368 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1814, allocations: 89.13 MB / 0.7238 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.005585/0.187, allocations: 2.327 MB / 0.7261 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00216/0.1892, allocations: 0.8687 MB / 0.7269 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/0.1894, allocations: 4 kB / 0.7269 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007787/0.1902, allocations: 147.4 kB / 0.7271 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.1904, allocations: 71.61 kB / 0.7271 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.1907, allocations: 63.8 kB / 0.7272 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003579/0.1911, allocations: 159.4 kB / 0.7274 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003483/0.1914, allocations: 85 kB / 0.7274 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.1917, allocations: 67.77 kB / 0.7275 GB, free: 472 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002401/0.1919, allocations: 83.66 kB / 0.7276 GB, free: 388 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.757e-05/0.192, allocations: 15.94 kB / 0.7276 GB, free: 372 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.1922, allocations: 59.94 kB / 0.7277 GB, free: 312 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.169e-05/0.1922, allocations: 39.78 kB / 0.7277 GB, free: 272 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.1924, allocations: 71.66 kB / 0.7278 GB, free: 200 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004207/0.1928, allocations: 175.3 kB / 0.7279 GB, free: 24 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1928, allocations: 0 / 0.7279 GB, free: 24 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.093e-06/0.1928, allocations: 0 / 0.7279 GB, free: 24 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.1928, allocations: 0 / 0.7279 GB, free: 24 kB / 0.5294 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.001081/0.1939, allocations: 0.4905 MB / 0.7284 GB, free: 15.47 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.1939, allocations: 12.03 kB / 0.7284 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.07e-05/0.194, allocations: 4.375 kB / 0.7284 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.939e-05/0.194, allocations: 46.73 kB / 0.7285 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003534/0.1944, allocations: 28.83 kB / 0.7285 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.1947, allocations: 229.1 kB / 0.7287 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.11e-05/0.1948, allocations: 37.7 kB / 0.7287 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.1948, allocations: 12 kB / 0.7288 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.1952, allocations: 154.2 kB / 0.7289 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1952, allocations: 0 / 0.7289 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.1952, allocations: 4 kB / 0.7289 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.1952, allocations: 4 kB / 0.7289 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.1954, allocations: 95.81 kB / 0.729 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009923/0.1964, allocations: 0.6365 MB / 0.7296 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.1967, allocations: 50.75 kB / 0.7297 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.084e-05/0.1968, allocations: 32.84 kB / 0.7297 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.1968, allocations: 4 kB / 0.7297 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00023/0.197, allocations: 138.8 kB / 0.7298 GB, free: 13.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.197, allocations: 0 / 0.7298 GB, free: 13.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004314/0.1974, allocations: 163.2 kB / 0.73 GB, free: 13.67 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.804e-05/0.1975, allocations: 132.5 kB / 0.7301 GB, free: 13.51 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.1977, allocations: 182.6 kB / 0.7303 GB, free: 13.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.1978, allocations: 33.7 kB / 0.7303 GB, free: 13.28 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.1979, allocations: 140 kB / 0.7305 GB, free: 13.13 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.1979, allocations: 23.84 kB / 0.7305 GB, free: 13.11 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.1e-05/0.198, allocations: 41.67 kB / 0.7305 GB, free: 13.06 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.1981, allocations: 322.8 kB / 0.7308 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.1982, allocations: 39.97 kB / 0.7309 GB, free: 12.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.1984, allocations: 119.2 kB / 0.731 GB, free: 12.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.1987, allocations: 226.3 kB / 0.7312 GB, free: 12.28 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1987, allocations: 3.938 kB / 0.7312 GB, free: 12.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004424/0.1991, allocations: 244.7 kB / 0.7314 GB, free: 12.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.27e-05/0.1992, allocations: 69.42 kB / 0.7315 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.1992, allocations: 0 / 0.7315 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.1992, allocations: 4 kB / 0.7315 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.1994, allocations: 31.92 kB / 0.7315 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.1994, allocations: 4.312 kB / 0.7315 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.1995, allocations: 35.83 kB / 0.7316 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.1996, allocations: 8 kB / 0.7316 GB, free: 11.86 MB / 0.545 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.0001667/0.1997, allocations: 167.3 kB / 0.7317 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.1998, allocations: 15.95 kB / 0.7318 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.333e-05/0.1998, allocations: 17.39 kB / 0.7318 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1998, allocations: 0 / 0.7318 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1998, allocations: 0 / 0.7318 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-06/0.1998, allocations: 8 kB / 0.7318 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.2, allocations: 217.5 kB / 0.732 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2, allocations: 0 / 0.732 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.292e-05/0.2001, allocations: 8 kB / 0.732 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2001, allocations: 0 / 0.732 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.2001, allocations: 4 kB / 0.732 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2001, allocations: 0 / 0.732 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2001, allocations: 0 / 0.732 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004385/0.2006, allocations: 226.6 kB / 0.7322 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.774e-05/0.2006, allocations: 93.03 kB / 0.7323 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.2007, allocations: 8 kB / 0.7323 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.2008, allocations: 7.984 kB / 0.7323 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.086e-05/0.2009, allocations: 4 kB / 0.7323 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.2009, allocations: 8 kB / 0.7323 GB, free: 10.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001454/0.201, allocations: 136.3 kB / 0.7325 GB, free: 10.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.201, allocations: 0 / 0.7325 GB, free: 10.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002702/0.2013, allocations: 32.06 kB / 0.7325 GB, free: 10.81 MB / 0.545 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.0007629/0.2021, allocations: 0.7583 MB / 0.7332 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003741/0.2024, allocations: 215.6 kB / 0.7334 GB, free: 9.785 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2024, allocations: 0 / 0.7334 GB, free: 9.785 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.2026, allocations: 87.39 kB / 0.7335 GB, free: 9.688 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.2029, allocations: 23.38 kB / 0.7335 GB, free: 9.668 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/0.2055, allocations: 1.987 MB / 0.7355 GB, free: 7.527 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.2059, allocations: 0.7123 MB / 0.7362 GB, free: 6.785 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.177e-05/0.2059, allocations: 24.62 kB / 0.7362 GB, free: 6.762 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.206, allocations: 39.42 kB / 0.7362 GB, free: 6.723 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.206, allocations: 0 / 0.7362 GB, free: 6.723 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.2275, allocations: 3.194 MB / 0.7394 GB, free: 3.672 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.723/8.95, allocations: 14.81 kB / 0.7394 GB, free: 3.66 MB / 0.545 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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: 12.803210698009934] Failed to read output from testmodel.py, exit status != 0: 9.081863148021512 9.108520515 8.910919265 Calling exit ...