Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.000929/0.000929, allocations: 92.22 kB / 20.43 MB, free: 4.137 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.001032/0.001032, allocations: 165 kB / 23.8 MB, free: 0.7617 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.032/1.032, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.5899/0.5899, allocations: 115 MB / 375.7 MB, free: 7.652 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.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0.5 kB / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.203e-05/1.431e-05, allocations: 2.312 kB / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.002376/0.002391, allocations: 2.504 MB / 484 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.003786, allocations: 1.241 MB / 485.2 MB, free: 9.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.003887, allocations: 7.969 kB / 485.3 MB, free: 9.477 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003844/0.004271, allocations: 94.56 kB / 485.3 MB, free: 9.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.004553, allocations: 181.2 kB / 485.5 MB, free: 9.332 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.004813, allocations: 166.2 kB / 485.7 MB, free: 9.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.00509, allocations: 329.4 kB / 486 MB, free: 9.105 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/0.005368, allocations: 175 kB / 486.2 MB, free: 9.027 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.005578, allocations: 198.4 kB / 486.4 MB, free: 8.945 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.005795, allocations: 156.4 kB / 486.5 MB, free: 8.898 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.401e-05/0.005829, allocations: 22.75 kB / 486.5 MB, free: 8.898 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.006028, allocations: 156.9 kB / 486.7 MB, free: 8.855 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.349e-05/0.006111, allocations: 115.8 kB / 486.8 MB, free: 8.801 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.27e-05/0.006184, allocations: 90.02 kB / 486.9 MB, free: 8.762 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.0065, allocations: 291.9 kB / 487.2 MB, free: 8.656 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.006502, allocations: 0 / 487.2 MB, free: 8.656 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.006502, allocations: 2.062 kB / 487.2 MB, free: 8.656 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.006508, allocations: 1.219 kB / 487.2 MB, free: 8.656 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0006649/0.007173, allocations: 0.5708 MB / 487.8 MB, free: 24.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.007207, allocations: 10.56 kB / 487.8 MB, free: 24.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004614/0.007669, allocations: 143.2 kB / 487.9 MB, free: 24.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.007869, allocations: 200.8 kB / 488.1 MB, free: 23.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.007886, allocations: 22.44 kB / 488.1 MB, free: 23.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.092e-05/0.007957, allocations: 25.14 kB / 488.2 MB, free: 23.94 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.008258, allocations: 304 kB / 488.5 MB, free: 23.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.008273, allocations: 6.25 kB / 488.5 MB, free: 23.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.008295, allocations: 13.97 kB / 488.5 MB, free: 23.72 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-05/0.008359, allocations: 28.03 kB / 488.5 MB, free: 23.72 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.008548, allocations: 126.7 kB / 488.6 MB, free: 23.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009147/0.009463, allocations: 1.182 MB / 489.8 MB, free: 22.74 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.009695, allocations: 150.5 kB / 490 MB, free: 22.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.285e-05/0.009758, allocations: 46.83 kB / 490 MB, free: 22.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.52e-05/0.009833, allocations: 13.8 kB / 490 MB, free: 22.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.009851, allocations: 38.52 kB / 490 MB, free: 22.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.009852, allocations: 1.562 kB / 490 MB, free: 22.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006488/0.0105, allocations: 457.6 kB / 490.5 MB, free: 22.33 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.702e-05/0.01052, allocations: 54.25 kB / 490.5 MB, free: 22.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.01065, allocations: 234.2 kB / 490.8 MB, free: 22.08 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.01066, allocations: 29.7 kB / 490.8 MB, free: 22.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.01073, allocations: 216.8 kB / 491 MB, free: 21.85 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.01076, allocations: 71.08 kB / 491.1 MB, free: 21.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.498e-05/0.01083, allocations: 61.69 kB / 491.1 MB, free: 21.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.01094, allocations: 0.5 MB / 491.6 MB, free: 21.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.383e-05/0.01101, allocations: 51.58 kB / 491.7 MB, free: 21.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.484e-05/0.01111, allocations: 126.6 kB / 491.8 MB, free: 21.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.01128, allocations: 174.3 kB / 492 MB, free: 21.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01128, allocations: 1.031 kB / 492 MB, free: 21.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003774/0.01166, allocations: 281.7 kB / 492.3 MB, free: 20.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.01167, allocations: 5.75 kB / 492.3 MB, free: 20.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.01167, allocations: 2.156 kB / 492.3 MB, free: 20.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000351/0.01202, allocations: 105.6 kB / 492.4 MB, free: 20.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.01216, allocations: 60.48 kB / 492.4 MB, free: 20.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.01318, allocations: 1.927 MB / 494.4 MB, free: 19.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.984e-05/0.01328, allocations: 15.39 kB / 494.4 MB, free: 19.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.0133, allocations: 11.94 kB / 494.4 MB, free: 19.04 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.033e-05/0.01338, allocations: 169.7 kB / 494.6 MB, free: 18.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.01341, allocations: 30.91 kB / 494.6 MB, free: 18.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.01363, allocations: 181.6 kB / 494.8 MB, free: 18.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01363, allocations: 2.969 kB / 494.8 MB, free: 18.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.01363, allocations: 1.469 kB / 494.8 MB, free: 18.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01363, allocations: 0 / 494.8 MB, free: 18.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/0.01407, allocations: 0.528 MB / 495.3 MB, free: 18.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.01408, allocations: 6.562 kB / 495.3 MB, free: 18.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.01424, allocations: 63.23 kB / 495.4 MB, free: 18.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.01425, allocations: 1.062 kB / 495.4 MB, free: 18.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.01426, allocations: 10.75 kB / 495.4 MB, free: 18.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01426, allocations: 1.281 kB / 495.4 MB, free: 18.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01426, allocations: 1.219 kB / 495.4 MB, free: 18.36 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.01457, allocations: 376 kB / 495.7 MB, free: 18.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/0.01462, allocations: 36.77 kB / 495.8 MB, free: 18.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.01463, allocations: 5.656 kB / 495.8 MB, free: 18.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.142e-05/0.01472, allocations: 10.22 kB / 495.8 MB, free: 18.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.01474, allocations: 15.67 kB / 495.8 MB, free: 18.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.507e-06/0.01475, allocations: 8.031 kB / 495.8 MB, free: 18.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.99e-05/0.01483, allocations: 173.7 kB / 496 MB, free: 17.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01483, allocations: 0 / 496 MB, free: 17.94 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002344/0.01507, allocations: 67.09 kB / 496.1 MB, free: 17.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * 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.0001004/0.01517, allocations: 112.6 kB / 496.2 MB, free: 17.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004058/0.01557, allocations: 359.6 kB / 496.5 MB, free: 17.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01558, allocations: 1.156 kB / 496.5 MB, free: 17.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.492e-05/0.01565, allocations: 68.02 kB / 496.6 MB, free: 17.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.0159, allocations: 46.59 kB / 496.6 MB, free: 17.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008917/0.01679, allocations: 0.5469 MB / 497.2 MB, free: 17.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.332e-05/0.01685, allocations: 108.2 kB / 497.3 MB, free: 17.17 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.625e-05/0.01695, allocations: 42.44 kB / 497.3 MB, free: 17.17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/0.017, allocations: 20.22 kB / 497.3 MB, free: 17.16 MB / 426.7 MB Notification: Performance of SimCode: time 7.51e-07/0.017, allocations: 0 / 497.3 MB, free: 17.16 MB / 426.7 MB Notification: Performance of Templates: time 0.004923/0.02192, allocations: 2.905 MB / 0.4885 GB, free: 16.88 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5696362829767168]