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.001699/0.001699, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002516/0.002516, allocations: 209.6 kB / 22.99 MB, free: 4.605 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.789 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 1.018/1.018, allocations: 149.9 MB / 463.1 MB, free: 10.34 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.002295/0.002295, allocations: 63.3 kB / 0.641 GB, free: 10.2 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1829, allocations: 89.18 MB / 0.7281 GB, free: 1.086 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004464/0.1873, allocations: 2.299 MB / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.189, allocations: 0.8183 MB / 0.7312 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.1892, allocations: 11.88 kB / 0.7312 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008016/0.19, allocations: 147.4 kB / 0.7313 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.1903, allocations: 63.61 kB / 0.7314 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.1906, allocations: 67.86 kB / 0.7314 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003447/0.1909, allocations: 159.4 kB / 0.7316 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002989/0.1912, allocations: 85.11 kB / 0.7317 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000252/0.1915, allocations: 75.7 kB / 0.7318 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.1917, allocations: 63.73 kB / 0.7318 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/0.1918, allocations: 12 kB / 0.7318 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.1919, allocations: 51.89 kB / 0.7319 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.716e-05/0.192, allocations: 47.77 kB / 0.7319 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.1921, allocations: 51.73 kB / 0.732 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003855/0.1925, allocations: 175.3 kB / 0.7321 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.1925, allocations: 7.984 kB / 0.7321 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.064e-06/0.1925, allocations: 0 / 0.7321 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.1925, allocations: 4 kB / 0.7322 GB, free: 12.95 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.0009805/0.1935, allocations: 421.2 kB / 0.7326 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.363e-05/0.1936, allocations: 12.03 kB / 0.7326 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.208e-05/0.1936, allocations: 42.75 kB / 0.7326 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003285/0.194, allocations: 36.81 kB / 0.7326 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.1943, allocations: 159.4 kB / 0.7328 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-05/0.1943, allocations: 67.53 kB / 0.7329 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.1944, allocations: 12 kB / 0.7329 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.1947, allocations: 184.4 kB / 0.733 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1947, allocations: 0 / 0.733 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.1947, allocations: 4 kB / 0.733 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.1948, allocations: 8 kB / 0.7331 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000248/0.195, allocations: 121.6 kB / 0.7332 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009731/0.196, allocations: 0.5771 MB / 0.7337 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.1963, allocations: 84.2 kB / 0.7338 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.1964, allocations: 54.61 kB / 0.7339 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.1964, allocations: 192 / 0.7339 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000279/0.1967, allocations: 180.4 kB / 0.734 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.1967, allocations: 0 / 0.734 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0005217/0.1972, allocations: 226.6 kB / 0.7343 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.1973, allocations: 140.5 kB / 0.7344 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.1976, allocations: 194.7 kB / 0.7346 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.1976, allocations: 25.7 kB / 0.7346 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.1977, allocations: 144 kB / 0.7347 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.1977, allocations: 19.84 kB / 0.7348 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.956e-05/0.1978, allocations: 41.66 kB / 0.7348 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.198, allocations: 326.8 kB / 0.7351 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.1981, allocations: 91.38 kB / 0.7352 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.1983, allocations: 166.7 kB / 0.7354 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.1986, allocations: 238.3 kB / 0.7356 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.1986, allocations: 4 kB / 0.7356 GB, free: 9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004714/0.1991, allocations: 312.1 kB / 0.7359 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.549e-05/0.1992, allocations: 65.28 kB / 0.7359 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.1992, allocations: 4 kB / 0.7359 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.1992, allocations: 4 kB / 0.736 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.1993, allocations: 27.92 kB / 0.736 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.1994, allocations: 7.984 kB / 0.736 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.1995, allocations: 28.2 kB / 0.736 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.1995, allocations: 8 kB / 0.736 GB, free: 8.512 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.000168/0.1997, allocations: 163.5 kB / 0.7362 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.1997, allocations: 19.84 kB / 0.7362 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.132e-05/0.1998, allocations: 17.39 kB / 0.7362 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1998, allocations: 0 / 0.7362 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1998, allocations: 0 / 0.7362 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1998, allocations: 0 / 0.7362 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.2, allocations: 172.7 kB / 0.7364 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.2, allocations: 3.938 kB / 0.7364 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.222e-05/0.2001, allocations: 16 kB / 0.7364 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2001, allocations: 0 / 0.7364 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.2001, allocations: 0 / 0.7364 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2001, allocations: 3.938 kB / 0.7364 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2001, allocations: 3.984 kB / 0.7364 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004796/0.2006, allocations: 282 kB / 0.7367 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/0.2006, allocations: 19.8 kB / 0.7367 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.2006, allocations: 0 / 0.7367 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.2007, allocations: 20.05 kB / 0.7367 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.2008, allocations: 11.98 kB / 0.7367 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.2008, allocations: 4 kB / 0.7367 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000135/0.2009, allocations: 136.3 kB / 0.7369 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2009, allocations: 0 / 0.7369 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002618/0.2012, allocations: 31.95 kB / 0.7369 GB, free: 7.523 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.0007935/0.202, allocations: 0.8126 MB / 0.7377 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004168/0.2024, allocations: 300.4 kB / 0.738 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2024, allocations: 4 kB / 0.738 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.2026, allocations: 117 kB / 0.7381 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.2028, allocations: 19.98 kB / 0.7381 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.2057, allocations: 2.236 MB / 0.7403 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.2058, allocations: 102.7 kB / 0.7404 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.414e-05/0.2059, allocations: 20.64 kB / 0.7404 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.618e-05/0.206, allocations: 35.42 kB / 0.7404 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of SimCode: time 1.403e-06/0.206, allocations: 0 / 0.7404 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03407/0.24, allocations: 3.768 MB / 0.7441 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.72, allocations: 10.77 kB / 0.7441 GB, free: 15.95 MB / 0.5762 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 & /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: 15.512263773940504] Failed to read output from testmodel.py, exit status != 0: 11.831055803224444 11.859599034 11.661775668 Calling exit ...