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.001662/0.001662, allocations: 71.59 kB / 20.51 MB, free: 1.285 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.001492/0.001492, allocations: 165.3 kB / 23.77 MB, free: 4.465 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.498/1.498, allocations: 177.2 MB / 204.1 MB, free: 8.961 MB / 190.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.9615/0.9615, allocations: 113.9 MB / 374.5 MB, free: 12.86 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: 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.002243/0.002243, allocations: 69.09 kB / 0.555 GB, free: 2.723 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1831, allocations: 89.15 MB / 0.6421 GB, free: 9.523 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004629/0.1877, allocations: 2.605 MB / 0.6446 GB, free: 6.906 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002744/0.1905, allocations: 1.449 MB / 0.6461 GB, free: 5.449 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.1906, allocations: 11.88 kB / 0.6461 GB, free: 5.438 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007903/0.1914, allocations: 219.2 kB / 0.6463 GB, free: 5.223 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005501/0.1919, allocations: 187.2 kB / 0.6465 GB, free: 5.039 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.1923, allocations: 158.5 kB / 0.6466 GB, free: 4.887 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003354/0.1927, allocations: 239.2 kB / 0.6468 GB, free: 4.652 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000297/0.193, allocations: 134.6 kB / 0.647 GB, free: 4.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.1932, allocations: 111.6 kB / 0.6471 GB, free: 4.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.1935, allocations: 115.6 kB / 0.6472 GB, free: 4.297 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.1935, allocations: 16 kB / 0.6472 GB, free: 4.281 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003389/0.1938, allocations: 211.5 kB / 0.6474 GB, free: 4.074 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.1939, allocations: 79.78 kB / 0.6475 GB, free: 3.996 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.194, allocations: 67.67 kB / 0.6475 GB, free: 3.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005041/0.1946, allocations: 338.8 kB / 0.6479 GB, free: 3.598 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1946, allocations: 3.938 kB / 0.6479 GB, free: 3.594 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.074e-06/0.1946, allocations: 0 / 0.6479 GB, free: 3.594 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.1946, allocations: 0 / 0.6479 GB, free: 3.594 MB / 0.545 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.0009198/0.1955, allocations: 429.5 kB / 0.6483 GB, free: 3.141 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.1955, allocations: 12.03 kB / 0.6483 GB, free: 3.129 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006598/0.1962, allocations: 80.7 kB / 0.6484 GB, free: 3.051 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.1965, allocations: 182.2 kB / 0.6485 GB, free: 2.848 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.1965, allocations: 12.69 kB / 0.6485 GB, free: 2.836 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.756e-05/0.1966, allocations: 16.38 kB / 0.6486 GB, free: 2.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005843/0.1972, allocations: 354.1 kB / 0.6489 GB, free: 2.434 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.1972, allocations: 4 kB / 0.6489 GB, free: 2.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.1972, allocations: 4 kB / 0.6489 GB, free: 2.426 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-05/0.1973, allocations: 24.2 kB / 0.6489 GB, free: 2.398 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004154/0.1977, allocations: 252.6 kB / 0.6492 GB, free: 2.152 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.1993, allocations: 1.252 MB / 0.6504 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006501/0.2, allocations: 244.9 kB / 0.6506 GB, free: 0.582 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.2001, allocations: 77.67 kB / 0.6507 GB, free: 0.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.2002, allocations: 19.98 kB / 0.6507 GB, free: 492 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.2003, allocations: 30.56 kB / 0.6507 GB, free: 452 kB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.2003, allocations: 4 kB / 0.6508 GB, free: 448 kB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006912/0.201, allocations: 317 kB / 0.6511 GB, free: 124 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/0.201, allocations: 88.97 kB / 0.6511 GB, free: 16 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.2012, allocations: 170.2 kB / 0.6513 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.2013, allocations: 25.7 kB / 0.6513 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.2014, allocations: 148.3 kB / 0.6515 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.133e-05/0.2014, allocations: 51.53 kB / 0.6515 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.591e-05/0.2015, allocations: 49.7 kB / 0.6516 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.2017, allocations: 322.8 kB / 0.6519 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.2018, allocations: 92.75 kB / 0.652 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.202, allocations: 156.5 kB / 0.6521 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/0.2024, allocations: 265.4 kB / 0.6524 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.2024, allocations: 8 kB / 0.6524 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004524/0.2029, allocations: 281.3 kB / 0.6526 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.2029, allocations: 4 kB / 0.6526 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.2029, allocations: 4 kB / 0.6526 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.2029, allocations: 4 kB / 0.6526 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.2032, allocations: 59.83 kB / 0.6527 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.2032, allocations: 4.188 kB / 0.6527 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.2034, allocations: 24.22 kB / 0.6527 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.2034, allocations: 20.09 kB / 0.6528 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002059/0.2036, allocations: 180.1 kB / 0.6529 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002103/0.2038, allocations: 149.4 kB / 0.6531 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000323/0.2041, allocations: 243.7 kB / 0.6533 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.322e-06/0.2041, allocations: 0 / 0.6533 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004025/0.2045, allocations: 261.2 kB / 0.6535 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.2045, allocations: 10.03 kB / 0.6536 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-06/0.2045, allocations: 48 / 0.6536 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-06/0.2045, allocations: 8.297 kB / 0.6536 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.2048, allocations: 63.89 kB / 0.6536 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.2048, allocations: 11.92 kB / 0.6536 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.2049, allocations: 15.89 kB / 0.6537 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.205, allocations: 15.98 kB / 0.6537 GB, free: 13.23 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.0001316/0.2051, allocations: 188.2 kB / 0.6538 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.457e-05/0.2052, allocations: 11.95 kB / 0.6539 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003705/0.2055, allocations: 199.1 kB / 0.654 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.2055, allocations: 11.94 kB / 0.6541 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2055, allocations: 0 / 0.6541 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.2055, allocations: 0 / 0.6541 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.2067, allocations: 0.8079 MB / 0.6548 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.2067, allocations: 8.062 kB / 0.6549 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.2069, allocations: 35.91 kB / 0.6549 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.2069, allocations: 4 kB / 0.6549 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.2069, allocations: 8 kB / 0.6549 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.2069, allocations: 4 kB / 0.6549 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.2069, allocations: 11.94 kB / 0.6549 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.2074, allocations: 443.1 kB / 0.6553 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.875e-05/0.2074, allocations: 27.92 kB / 0.6554 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.2075, allocations: 8 kB / 0.6554 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.2077, allocations: 15.98 kB / 0.6554 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.2077, allocations: 19.92 kB / 0.6554 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.2077, allocations: 11.94 kB / 0.6554 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001249/0.2078, allocations: 129.6 kB / 0.6555 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2078, allocations: 0 / 0.6555 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005077/0.2083, allocations: 75.94 kB / 0.6556 GB, free: 11.09 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.000132/0.2085, allocations: 99.25 kB / 0.6557 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005161/0.209, allocations: 307.5 kB / 0.656 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.209, allocations: 0 / 0.656 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.2091, allocations: 77.33 kB / 0.6561 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.2096, allocations: 42.53 kB / 0.6561 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008074/0.2104, allocations: 492.5 kB / 0.6566 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.2106, allocations: 135.9 kB / 0.6567 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000203/0.2108, allocations: 77.41 kB / 0.6568 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.866e-05/0.2108, allocations: 20.48 kB / 0.6568 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.2108, allocations: 0 / 0.6568 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of Templates: time 0.005217/0.216, allocations: 1.89 MB / 0.6587 GB, free: 7.922 MB / 0.5606 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.652321332017891] Failed to read output from testmodel.py, exit status != 0: 0.224808257073164 0.23947788800000003 0.041768245 Calling exit ...