Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.00177/0.00177, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.001885/0.001885, allocations: 173.2 kB / 23.23 MB, free: 1.328 MB / 18.57 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.554/1.554, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.223/3.223, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 1.001 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.359e-05, allocations: 2.281 kB / 1.001 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004728/0.004752, allocations: 2.613 MB / 1.004 GB, free: 9.293 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002739/0.007491, allocations: 1.441 MB / 1.005 GB, free: 7.844 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.007593, allocations: 4 kB / 1.005 GB, free: 7.84 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008512/0.008444, allocations: 226 kB / 1.005 GB, free: 7.621 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0004877/0.008932, allocations: 202.9 kB / 1.005 GB, free: 7.422 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.009305, allocations: 151.5 kB / 1.006 GB, free: 7.273 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003711/0.009676, allocations: 247.2 kB / 1.006 GB, free: 7.031 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003049/0.00998, allocations: 126.7 kB / 1.006 GB, free: 6.902 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002918/0.01027, allocations: 155.5 kB / 1.006 GB, free: 6.75 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.01055, allocations: 107.7 kB / 1.006 GB, free: 6.645 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.397e-05/0.01059, allocations: 16 kB / 1.006 GB, free: 6.629 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003649/0.01096, allocations: 203.4 kB / 1.006 GB, free: 6.43 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.01107, allocations: 83.8 kB / 1.007 GB, free: 6.348 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.01118, allocations: 63.83 kB / 1.007 GB, free: 6.285 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005436/0.01173, allocations: 346.9 kB / 1.007 GB, free: 5.945 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.01173, allocations: 3.938 kB / 1.007 GB, free: 5.941 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.567e-06/0.01173, allocations: 4 kB / 1.007 GB, free: 5.938 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.01174, allocations: 0 / 1.007 GB, free: 5.938 MB / 0.9167 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.000793/0.01253, allocations: 421.6 kB / 1.007 GB, free: 5.492 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.01257, allocations: 8.75 kB / 1.007 GB, free: 5.484 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005661/0.01313, allocations: 80.7 kB / 1.007 GB, free: 5.406 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.01345, allocations: 173.5 kB / 1.008 GB, free: 5.211 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.01347, allocations: 12.7 kB / 1.008 GB, free: 5.199 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.17e-05/0.01352, allocations: 24.36 kB / 1.008 GB, free: 5.176 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000603/0.01412, allocations: 346.3 kB / 1.008 GB, free: 4.797 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.01414, allocations: 4.125 kB / 1.008 GB, free: 4.793 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.01417, allocations: 12.36 kB / 1.008 GB, free: 4.781 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-05/0.01422, allocations: 24.2 kB / 1.008 GB, free: 4.754 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005757/0.0148, allocations: 252.6 kB / 1.008 GB, free: 4.508 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.01654, allocations: 1.252 MB / 1.009 GB, free: 3.191 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000667/0.0172, allocations: 252.9 kB / 1.01 GB, free: 2.926 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.01736, allocations: 81.66 kB / 1.01 GB, free: 2.84 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.01747, allocations: 11.98 kB / 1.01 GB, free: 2.828 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.01751, allocations: 34.56 kB / 1.01 GB, free: 2.785 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 2.004e-06/0.01751, allocations: 0 / 1.01 GB, free: 2.785 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14): time 0.0007573/0.01827, allocations: 313.1 kB / 1.01 GB, free: 2.473 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.476e-05/0.01834, allocations: 89.22 kB / 1.01 GB, free: 2.367 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.01854, allocations: 174.4 kB / 1.01 GB, free: 2.191 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.01857, allocations: 37.64 kB / 1.01 GB, free: 2.148 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.01869, allocations: 148.2 kB / 1.011 GB, free: 2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/0.01874, allocations: 51.58 kB / 1.011 GB, free: 1.949 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.989e-05/0.01883, allocations: 49.66 kB / 1.011 GB, free: 1.895 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.019, allocations: 326.8 kB / 1.011 GB, free: 1.566 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.01917, allocations: 92.8 kB / 1.011 GB, free: 1.473 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.01939, allocations: 149.4 kB / 1.011 GB, free: 1.293 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004008/0.01979, allocations: 261.3 kB / 1.011 GB, free: 1.004 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.01979, allocations: 0 / 1.011 GB, free: 1.004 MB / 0.9167 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005002/0.0203, allocations: 286.1 kB / 1.012 GB, free: 0.7188 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.02032, allocations: 11.98 kB / 1.012 GB, free: 0.707 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.02033, allocations: 4 kB / 1.012 GB, free: 0.7031 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.02034, allocations: 0 / 1.012 GB, free: 0.7031 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/0.02062, allocations: 59.89 kB / 1.012 GB, free: 0.6445 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.02064, allocations: 7.938 kB / 1.012 GB, free: 0.6367 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.02081, allocations: 19.92 kB / 1.012 GB, free: 0.6172 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.02083, allocations: 12.3 kB / 1.012 GB, free: 0.6055 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002289/0.02106, allocations: 188.1 kB / 1.012 GB, free: 428 kB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002137/0.02127, allocations: 154.1 kB / 1.012 GB, free: 240 kB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000364/0.02164, allocations: 236.8 kB / 1.012 GB, free: 15.97 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.847e-06/0.02164, allocations: 4 kB / 1.012 GB, free: 15.97 MB / 0.9323 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004377/0.02208, allocations: 261.2 kB / 1.013 GB, free: 15.71 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.02209, allocations: 8 kB / 1.013 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/0.02209, allocations: 0 / 1.013 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.622e-06/0.0221, allocations: 4 kB / 1.013 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.02236, allocations: 56.2 kB / 1.013 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.02237, allocations: 8 kB / 1.013 GB, free: 15.63 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.0225, allocations: 15.98 kB / 1.013 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.02252, allocations: 8 kB / 1.013 GB, free: 15.61 MB / 0.9323 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.0001539/0.02268, allocations: 204.1 kB / 1.013 GB, free: 15.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/0.02273, allocations: 15.91 kB / 1.013 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004116/0.02314, allocations: 199.1 kB / 1.013 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.02315, allocations: 4 kB / 1.013 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.02315, allocations: 4 kB / 1.013 GB, free: 15.17 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.02316, allocations: 0 / 1.013 GB, free: 15.17 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.02447, allocations: 0.8114 MB / 1.014 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.02447, allocations: 4.438 kB / 1.014 GB, free: 14.28 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.02462, allocations: 39.91 kB / 1.014 GB, free: 14.24 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.02463, allocations: 4 kB / 1.014 GB, free: 14.24 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.02465, allocations: 8 kB / 1.014 GB, free: 14.23 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.02465, allocations: 4 kB / 1.014 GB, free: 14.23 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.02466, allocations: 7.938 kB / 1.014 GB, free: 14.22 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004906/0.02515, allocations: 432.8 kB / 1.014 GB, free: 13.74 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 7.648e-05/0.02523, allocations: 35.89 kB / 1.014 GB, free: 13.71 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.02526, allocations: 7.984 kB / 1.014 GB, free: 13.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.02545, allocations: 19.98 kB / 1.014 GB, free: 13.68 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.02549, allocations: 19.92 kB / 1.014 GB, free: 13.66 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.0255, allocations: 11.94 kB / 1.014 GB, free: 13.65 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001291/0.02563, allocations: 129.3 kB / 1.015 GB, free: 13.52 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.02563, allocations: 0 / 1.015 GB, free: 13.52 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005143/0.02615, allocations: 72 kB / 1.015 GB, free: 13.45 MB / 0.9323 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.0001783/0.02633, allocations: 111.2 kB / 1.015 GB, free: 13.34 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0006816/0.02701, allocations: 307.5 kB / 1.015 GB, free: 13.04 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.02701, allocations: 0 / 1.015 GB, free: 13.04 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.02715, allocations: 81.45 kB / 1.015 GB, free: 12.96 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/0.02764, allocations: 32.08 kB / 1.015 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009292/0.02857, allocations: 479.7 kB / 1.016 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.02876, allocations: 131.9 kB / 1.016 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002269/0.02898, allocations: 81.59 kB / 1.016 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.02905, allocations: 16.5 kB / 1.016 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of SimCode: time 9.41e-07/0.02905, allocations: 3.938 kB / 1.016 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of Templates: time 0.006078/0.03513, allocations: 1.924 MB / 1.018 GB, free: 10.27 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.09444412495941]