Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.001355/0.001355, allocations: 105 kB / 20.45 MB, free: 1.5 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.001442/0.001442, allocations: 219.9 kB / 23.76 MB, free: 4.711 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.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.9449/0.9449, allocations: 150 MB / 463.9 MB, free: 10.5 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: translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") [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.002028/0.002028, allocations: 74.53 kB / 0.6425 GB, free: 9.891 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1776, allocations: 89.16 MB / 0.7296 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004489/0.1821, allocations: 2.705 MB / 0.7322 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002618/0.1847, allocations: 1.574 MB / 0.7337 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.1848, allocations: 4 kB / 0.7337 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008539/0.1856, allocations: 238.8 kB / 0.734 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004803/0.1861, allocations: 191.2 kB / 0.7342 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.1865, allocations: 147.6 kB / 0.7343 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003315/0.1868, allocations: 243.3 kB / 0.7345 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002826/0.1871, allocations: 122.6 kB / 0.7346 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.1873, allocations: 123.6 kB / 0.7348 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.1876, allocations: 131.5 kB / 0.7349 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.1876, allocations: 16 kB / 0.7349 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003583/0.188, allocations: 227.5 kB / 0.7351 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.946e-05/0.1881, allocations: 75.8 kB / 0.7352 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.1882, allocations: 95.45 kB / 0.7353 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004567/0.1886, allocations: 330.9 kB / 0.7356 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1886, allocations: 0 / 0.7356 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1886, allocations: 3.938 kB / 0.7356 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.1886, allocations: 0 / 0.7356 GB, free: 10.57 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0008204/0.1895, allocations: 425.6 kB / 0.736 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.1895, allocations: 8.031 kB / 0.736 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000595/0.1901, allocations: 84.7 kB / 0.7361 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.1904, allocations: 186.1 kB / 0.7363 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.1904, allocations: 12.7 kB / 0.7363 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.1905, allocations: 16.38 kB / 0.7363 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005395/0.191, allocations: 332.4 kB / 0.7366 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.191, allocations: 0 / 0.7366 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.1911, allocations: 11.98 kB / 0.7366 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.882e-05/0.1911, allocations: 16.28 kB / 0.7367 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004047/0.1915, allocations: 260.6 kB / 0.7369 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.1934, allocations: 1.585 MB / 0.7384 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005864/0.194, allocations: 237 kB / 0.7387 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.1941, allocations: 89.66 kB / 0.7388 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.1942, allocations: 11.94 kB / 0.7388 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.1942, allocations: 38.55 kB / 0.7388 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.1942, allocations: 0 / 0.7388 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0006853/0.1949, allocations: 309 kB / 0.7391 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/0.195, allocations: 81.3 kB / 0.7392 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.1952, allocations: 180.2 kB / 0.7393 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1952, allocations: 29.7 kB / 0.7394 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.1953, allocations: 156 kB / 0.7395 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.321e-05/0.1954, allocations: 47.64 kB / 0.7396 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.142e-05/0.1954, allocations: 49.64 kB / 0.7396 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.1956, allocations: 326.8 kB / 0.7399 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.1957, allocations: 92.75 kB / 0.74 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.1959, allocations: 160.6 kB / 0.7402 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/0.1963, allocations: 253.2 kB / 0.7404 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1963, allocations: 4 kB / 0.7404 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004597/0.1968, allocations: 289.2 kB / 0.7407 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1968, allocations: 8 kB / 0.7407 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1968, allocations: 0 / 0.7407 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.1968, allocations: 7.938 kB / 0.7407 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.1971, allocations: 56.2 kB / 0.7408 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.1971, allocations: 12.14 kB / 0.7408 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.1972, allocations: 27.91 kB / 0.7408 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.1973, allocations: 8 kB / 0.7408 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002075/0.1975, allocations: 180.1 kB / 0.741 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001795/0.1977, allocations: 153.3 kB / 0.7411 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002973/0.198, allocations: 234.3 kB / 0.7414 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/0.198, allocations: 0 / 0.7414 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000406/0.1984, allocations: 271.8 kB / 0.7416 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.1984, allocations: 8.312 kB / 0.7416 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.1984, allocations: 7.938 kB / 0.7416 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.1984, allocations: 8.031 kB / 0.7416 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.1986, allocations: 59.83 kB / 0.7417 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.1986, allocations: 7.984 kB / 0.7417 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.1988, allocations: 15.98 kB / 0.7417 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.1988, allocations: 8 kB / 0.7417 GB, free: 3.836 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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.0001383/0.1989, allocations: 196.1 kB / 0.7419 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.199, allocations: 11.91 kB / 0.7419 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000398/0.1994, allocations: 214.5 kB / 0.7421 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1994, allocations: 0 / 0.7421 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1994, allocations: 4 kB / 0.7421 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1994, allocations: 0 / 0.7421 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.2007, allocations: 0.8698 MB / 0.743 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.2007, allocations: 4 kB / 0.743 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.2008, allocations: 35.92 kB / 0.743 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/0.2009, allocations: 4 kB / 0.743 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.2009, allocations: 7.984 kB / 0.743 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.2009, allocations: 4 kB / 0.743 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.2009, allocations: 7.938 kB / 0.743 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004312/0.2013, allocations: 433 kB / 0.7435 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.737e-05/0.2014, allocations: 31.83 kB / 0.7435 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.2014, allocations: 12 kB / 0.7435 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.2016, allocations: 11.98 kB / 0.7435 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.2016, allocations: 27.84 kB / 0.7435 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.2017, allocations: 8 kB / 0.7435 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001149/0.2018, allocations: 127.2 kB / 0.7437 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2018, allocations: 0 / 0.7437 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005082/0.2023, allocations: 72 kB / 0.7437 GB, free: 1.617 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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.0001489/0.2024, allocations: 119.1 kB / 0.7438 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005189/0.203, allocations: 295.5 kB / 0.7441 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.203, allocations: 0 / 0.7441 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.2031, allocations: 89.25 kB / 0.7442 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.2036, allocations: 40.55 kB / 0.7442 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008576/0.2044, allocations: 0.5102 MB / 0.7447 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.2049, allocations: 0.7402 MB / 0.7455 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.684e-05/0.2049, allocations: 27.42 kB / 0.7455 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.2049, allocations: 4 kB / 0.7455 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.004567/0.2095, allocations: 2.39 MB / 0.7478 GB, free: 13.32 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.429682709043846] Failed to read output from testmodel.py, exit status != 0: 0.21818634495139122 0.538270243 0.041373783000000004 Calling exit ...