Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.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.0008047/0.0008047, allocations: 77.09 kB / 20.65 MB, free: 3.844 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.0008981/0.0008981, allocations: 169 kB / 24.05 MB, free: 456 kB / 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 0.9719/0.9719, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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.6857/0.6857, allocations: 115 MB / 376 MB, free: 7.488 MB / 346.7 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.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 481.9 MB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.408e-05, allocations: 3.297 kB / 481.9 MB, free: 11.74 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002544/0.002568, allocations: 2.136 MB / 484.1 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008992/0.003467, allocations: 0.505 MB / 484.6 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.003595, allocations: 7.312 kB / 484.6 MB, free: 10.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007969/0.004391, allocations: 414.5 kB / 485 MB, free: 9.777 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.004594, allocations: 101.3 kB / 485.1 MB, free: 9.719 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.004823, allocations: 110 kB / 485.2 MB, free: 9.668 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.005037, allocations: 212.1 kB / 485.4 MB, free: 9.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.005291, allocations: 133.6 kB / 485.5 MB, free: 9.504 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.005406, allocations: 116.6 kB / 485.7 MB, free: 9.457 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.005603, allocations: 93.56 kB / 485.7 MB, free: 9.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.005626, allocations: 13.38 kB / 485.8 MB, free: 9.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.005753, allocations: 78.69 kB / 485.8 MB, free: 9.406 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.046e-05/0.005813, allocations: 64.41 kB / 485.9 MB, free: 9.375 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.807e-05/0.005861, allocations: 50.59 kB / 485.9 MB, free: 9.355 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.006094, allocations: 161.6 kB / 486.1 MB, free: 9.297 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.006098, allocations: 1.031 kB / 486.1 MB, free: 9.297 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.0061, allocations: 0 / 486.1 MB, free: 9.297 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.006108, allocations: 0.75 kB / 486.1 MB, free: 9.297 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005867/0.006694, allocations: 482.5 kB / 486.6 MB, free: 8.848 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/0.006756, allocations: 11.91 kB / 486.6 MB, free: 8.848 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003822/0.007138, allocations: 62.27 kB / 486.6 MB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.007362, allocations: 161.9 kB / 486.8 MB, free: 8.672 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.007379, allocations: 11.47 kB / 486.8 MB, free: 8.668 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.0074, allocations: 14.22 kB / 486.8 MB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.007601, allocations: 190 kB / 487 MB, free: 8.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.007611, allocations: 1.562 kB / 487 MB, free: 8.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.007623, allocations: 7.25 kB / 487 MB, free: 8.516 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-05/0.007654, allocations: 23.62 kB / 487 MB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.459e-05/0.007729, allocations: 54.38 kB / 487.1 MB, free: 8.496 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000745/0.008474, allocations: 0.9959 MB / 488.1 MB, free: 23.58 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.871e-05/0.008522, allocations: 30.84 kB / 488.1 MB, free: 23.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.609e-05/0.008539, allocations: 18.23 kB / 488.1 MB, free: 23.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.008549, allocations: 5.438 kB / 488.2 MB, free: 23.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.008563, allocations: 34.67 kB / 488.2 MB, free: 23.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.008564, allocations: 2.781 kB / 488.2 MB, free: 23.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001149/0.008679, allocations: 51.39 kB / 488.2 MB, free: 23.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.008701, allocations: 54 kB / 488.3 MB, free: 23.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.528e-05/0.008796, allocations: 203.5 kB / 488.5 MB, free: 23.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.751e-06/0.008802, allocations: 25.7 kB / 488.5 MB, free: 23.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/0.008869, allocations: 201.1 kB / 488.7 MB, free: 22.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.007e-05/0.008879, allocations: 15.83 kB / 488.7 MB, free: 22.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.008917, allocations: 39.67 kB / 488.8 MB, free: 22.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.009033, allocations: 0.4945 MB / 489.3 MB, free: 22.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.403e-05/0.009057, allocations: 14.62 kB / 489.3 MB, free: 22.42 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.094e-05/0.009108, allocations: 120.1 kB / 489.4 MB, free: 22.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.836e-05/0.009197, allocations: 132.1 kB / 489.5 MB, free: 22.13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.009199, allocations: 1.062 kB / 489.5 MB, free: 22.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001215/0.009321, allocations: 114.2 kB / 489.6 MB, free: 22.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.009337, allocations: 6.219 kB / 489.6 MB, free: 22.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.009344, allocations: 7.641 kB / 489.6 MB, free: 22.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.009358, allocations: 6.984 kB / 489.7 MB, free: 22.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.453e-05/0.009443, allocations: 19.78 kB / 489.7 MB, free: 22.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.009451, allocations: 11.22 kB / 489.7 MB, free: 22.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.394e-05/0.009495, allocations: 13.67 kB / 489.7 MB, free: 22.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.009504, allocations: 9.969 kB / 489.7 MB, free: 22.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.272e-05/0.009567, allocations: 136.9 kB / 489.8 MB, free: 21.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.989e-05/0.009617, allocations: 108.5 kB / 489.9 MB, free: 21.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.514e-05/0.009692, allocations: 134 kB / 490.1 MB, free: 21.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.61e-07/0.009693, allocations: 0 / 490.1 MB, free: 21.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001122/0.009805, allocations: 113.1 kB / 490.2 MB, free: 21.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.009815, allocations: 9.719 kB / 490.2 MB, free: 21.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/0.009818, allocations: 2.375 kB / 490.2 MB, free: 21.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-06/0.009823, allocations: 8 kB / 490.2 MB, free: 21.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.105e-05/0.009874, allocations: 22.23 kB / 490.2 MB, free: 21.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.009879, allocations: 10.91 kB / 490.2 MB, free: 21.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.31e-05/0.009913, allocations: 15.42 kB / 490.3 MB, free: 21.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.009918, allocations: 6.094 kB / 490.3 MB, free: 21.55 MB / 426.7 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 (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 prepare postOptimizeDAE: time 8.655e-05/0.01, allocations: 275.1 kB / 490.5 MB, free: 21.28 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.01002, allocations: 10.73 kB / 490.5 MB, free: 21.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.569e-05/0.01005, allocations: 13.59 kB / 490.6 MB, free: 21.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.01005, allocations: 5.469 kB / 490.6 MB, free: 21.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.01005, allocations: 1.594 kB / 490.6 MB, free: 21.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01005, allocations: 0 / 490.6 MB, free: 21.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.01029, allocations: 464.7 kB / 491 MB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01029, allocations: 1.062 kB / 491 MB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.986e-05/0.01031, allocations: 10.5 kB / 491 MB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01031, allocations: 1.188 kB / 491 MB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-06/0.01031, allocations: 1.344 kB / 491 MB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01032, allocations: 2.344 kB / 491 MB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01032, allocations: 6.25 kB / 491 MB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.184e-05/0.01038, allocations: 113.2 kB / 491.1 MB, free: 20.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.0104, allocations: 16.78 kB / 491.2 MB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.01041, allocations: 5.438 kB / 491.2 MB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.817e-05/0.01043, allocations: 6.469 kB / 491.2 MB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.01044, allocations: 6.375 kB / 491.2 MB, free: 20.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.01044, allocations: 1.438 kB / 491.2 MB, free: 20.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.883e-05/0.01049, allocations: 141.4 kB / 491.3 MB, free: 20.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01049, allocations: 0.625 kB / 491.3 MB, free: 20.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002225/0.01071, allocations: 58.41 kB / 491.4 MB, free: 20.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 7.792e-05/0.01079, allocations: 97.84 kB / 491.5 MB, free: 20.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.01091, allocations: 99.42 kB / 491.6 MB, free: 20.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01091, allocations: 1.125 kB / 491.6 MB, free: 20.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.213e-05/0.01092, allocations: 18.12 kB / 491.6 MB, free: 20.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.0111, allocations: 24.42 kB / 491.6 MB, free: 20.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004721/0.01157, allocations: 282 kB / 491.9 MB, free: 20.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.417e-05/0.01162, allocations: 78.91 kB / 492 MB, free: 20.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.366e-05/0.01167, allocations: 13.62 kB / 492 MB, free: 20.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.203e-05/0.01173, allocations: 78.39 kB / 492.1 MB, free: 19.98 MB / 426.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01173, allocations: 0 / 492.1 MB, free: 19.98 MB / 426.7 MB Notification: Performance of Templates: time 0.002791/0.01453, allocations: 0.8645 MB / 492.9 MB, free: 19.9 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.488020489923656]