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.001262/0.001262, allocations: 84.52 kB / 19.94 MB, free: 1.781 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.001333/0.001333, allocations: 162.6 kB / 23.22 MB, free: 4.902 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.403/1.403, allocations: 177.1 MB / 203.5 MB, free: 9.164 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.9053/0.9053, allocations: 114 MB / 373.9 MB, free: 13.24 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: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.5547 GB, free: 2.652 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.182e-05, allocations: 5.781 kB / 0.5547 GB, free: 2.648 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003911/0.003932, allocations: 2.597 MB / 0.5572 GB, free: 36 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.00628, allocations: 1.445 MB / 0.5586 GB, free: 14.58 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.372e-05/0.006354, allocations: 8 kB / 0.5586 GB, free: 14.57 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007131/0.007067, allocations: 227 kB / 0.5588 GB, free: 14.35 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004317/0.007498, allocations: 198.9 kB / 0.559 GB, free: 14.16 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.007828, allocations: 147.5 kB / 0.5592 GB, free: 14.01 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003077/0.008136, allocations: 247.2 kB / 0.5594 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002647/0.008401, allocations: 134.6 kB / 0.5595 GB, free: 13.63 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002446/0.008645, allocations: 147.5 kB / 0.5597 GB, free: 13.49 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.00888, allocations: 115.7 kB / 0.5598 GB, free: 13.38 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.49e-05/0.008915, allocations: 16 kB / 0.5598 GB, free: 13.36 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003107/0.009226, allocations: 207.4 kB / 0.56 GB, free: 13.16 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.009327, allocations: 79.8 kB / 0.5601 GB, free: 13.08 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.444e-05/0.009411, allocations: 55.84 kB / 0.5601 GB, free: 13.02 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004465/0.009858, allocations: 350.9 kB / 0.5605 GB, free: 12.68 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.00986, allocations: 4 kB / 0.5605 GB, free: 12.68 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.009863, allocations: 4 kB / 0.5605 GB, free: 12.67 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.009868, allocations: 0 / 0.5605 GB, free: 12.67 MB / 478.1 MB 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.0007142/0.01058, allocations: 429.5 kB / 0.5609 GB, free: 12.22 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.01061, allocations: 8.031 kB / 0.5609 GB, free: 12.21 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005685/0.01118, allocations: 80.7 kB / 0.561 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.01146, allocations: 172.1 kB / 0.5611 GB, free: 11.94 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.01148, allocations: 12.7 kB / 0.5611 GB, free: 11.93 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.466e-05/0.01152, allocations: 24.36 kB / 0.5612 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004984/0.01202, allocations: 350.3 kB / 0.5615 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.01204, allocations: 4.172 kB / 0.5615 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.01207, allocations: 16.36 kB / 0.5615 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.758e-05/0.01211, allocations: 28.09 kB / 0.5615 GB, free: 11.47 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00039/0.0125, allocations: 252.6 kB / 0.5618 GB, free: 11.23 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.01397, allocations: 1.241 MB / 0.563 GB, free: 9.926 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005825/0.01456, allocations: 252.9 kB / 0.5632 GB, free: 9.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.01468, allocations: 77.67 kB / 0.5633 GB, free: 9.578 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.581e-05/0.01478, allocations: 11.98 kB / 0.5633 GB, free: 9.566 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.01481, allocations: 34.56 kB / 0.5633 GB, free: 9.523 MB / 478.1 MB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.01481, allocations: 0 / 0.5633 GB, free: 9.523 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006586/0.01547, allocations: 309 kB / 0.5636 GB, free: 9.215 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.01552, allocations: 81.11 kB / 0.5637 GB, free: 9.117 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.01567, allocations: 170.6 kB / 0.5639 GB, free: 8.945 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.01569, allocations: 37.89 kB / 0.5639 GB, free: 8.902 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.733e-05/0.01579, allocations: 152.2 kB / 0.5641 GB, free: 8.75 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.01584, allocations: 51.58 kB / 0.5641 GB, free: 8.699 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-05/0.01593, allocations: 57.64 kB / 0.5642 GB, free: 8.637 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.01606, allocations: 326.8 kB / 0.5645 GB, free: 8.309 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.0162, allocations: 84.81 kB / 0.5646 GB, free: 8.223 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.01639, allocations: 160.4 kB / 0.5647 GB, free: 8.035 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/0.01673, allocations: 261.2 kB / 0.565 GB, free: 7.746 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.01673, allocations: 3.938 kB / 0.565 GB, free: 7.742 MB / 478.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004371/0.01717, allocations: 281.6 kB / 0.5652 GB, free: 7.461 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.01719, allocations: 8 kB / 0.5652 GB, free: 7.453 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.01719, allocations: 4 kB / 0.5652 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.01721, allocations: 0 / 0.5652 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.01747, allocations: 59.89 kB / 0.5653 GB, free: 7.391 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.01748, allocations: 4 kB / 0.5653 GB, free: 7.387 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.01764, allocations: 27.86 kB / 0.5653 GB, free: 7.359 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.01766, allocations: 8 kB / 0.5653 GB, free: 7.352 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001982/0.01786, allocations: 188 kB / 0.5655 GB, free: 7.164 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001782/0.01803, allocations: 152.6 kB / 0.5657 GB, free: 6.984 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003164/0.01835, allocations: 231.7 kB / 0.5659 GB, free: 6.727 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.316e-06/0.01835, allocations: 4 kB / 0.5659 GB, free: 6.723 MB / 478.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003948/0.01875, allocations: 269.2 kB / 0.5661 GB, free: 6.453 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.01876, allocations: 8 kB / 0.5662 GB, free: 6.445 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.01876, allocations: 4 kB / 0.5662 GB, free: 6.441 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.12e-06/0.01877, allocations: 4 kB / 0.5662 GB, free: 6.438 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.01902, allocations: 55.94 kB / 0.5662 GB, free: 6.383 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.01903, allocations: 7.984 kB / 0.5662 GB, free: 6.375 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.01917, allocations: 23.91 kB / 0.5662 GB, free: 6.352 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.01918, allocations: 12.5 kB / 0.5663 GB, free: 6.34 MB / 478.1 MB 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.0001291/0.01931, allocations: 196.1 kB / 0.5664 GB, free: 6.141 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/0.01937, allocations: 15.84 kB / 0.5665 GB, free: 6.125 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/0.01973, allocations: 199.2 kB / 0.5666 GB, free: 5.926 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.01973, allocations: 7.938 kB / 0.5667 GB, free: 5.918 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01973, allocations: 0 / 0.5667 GB, free: 5.918 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.01974, allocations: 0 / 0.5667 GB, free: 5.918 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.02087, allocations: 0.8114 MB / 0.5674 GB, free: 5.031 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.02088, allocations: 4 kB / 0.5675 GB, free: 5.027 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.02102, allocations: 35.91 kB / 0.5675 GB, free: 4.992 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.02102, allocations: 4.438 kB / 0.5675 GB, free: 4.988 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.02104, allocations: 4 kB / 0.5675 GB, free: 4.984 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.02104, allocations: 8 kB / 0.5675 GB, free: 4.977 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.747e-06/0.02105, allocations: 11.92 kB / 0.5675 GB, free: 4.965 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004168/0.02147, allocations: 432.8 kB / 0.5679 GB, free: 4.488 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.618e-05/0.02153, allocations: 31.89 kB / 0.568 GB, free: 4.457 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.02156, allocations: 4 kB / 0.568 GB, free: 4.453 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.02175, allocations: 15.98 kB / 0.568 GB, free: 4.438 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.02179, allocations: 15.92 kB / 0.568 GB, free: 4.422 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.02181, allocations: 12 kB / 0.568 GB, free: 4.41 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.02192, allocations: 127.9 kB / 0.5681 GB, free: 4.285 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02192, allocations: 0 / 0.5681 GB, free: 4.285 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000484/0.0224, allocations: 72 kB / 0.5682 GB, free: 4.215 MB / 478.1 MB 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.0001491/0.02255, allocations: 111.1 kB / 0.5683 GB, free: 4.094 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005015/0.02306, allocations: 303.7 kB / 0.5686 GB, free: 3.801 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.02306, allocations: 4 kB / 0.5686 GB, free: 3.797 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.02318, allocations: 79.77 kB / 0.5687 GB, free: 3.719 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.02365, allocations: 35.97 kB / 0.5687 GB, free: 3.684 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007735/0.02442, allocations: 470.4 kB / 0.5692 GB, free: 3.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.02457, allocations: 135.9 kB / 0.5693 GB, free: 3.008 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001869/0.02475, allocations: 73.41 kB / 0.5694 GB, free: 2.934 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.206e-05/0.02482, allocations: 20.48 kB / 0.5694 GB, free: 2.914 MB / 478.1 MB Notification: Performance of SimCode: time 3.61e-07/0.02482, allocations: 4 kB / 0.5694 GB, free: 2.91 MB / 478.1 MB Notification: Performance of Templates: time 0.005244/0.03006, allocations: 1.919 MB / 0.5712 GB, free: 1.059 MB / 478.1 MB " [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: 5.166181359440088] Failed to read output from testmodel.py, exit status != 0: 0.03819464147090912 0.052541379000000006 0.039626595 Calling exit ...