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.001141/0.001141, 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.001231/0.001231, allocations: 165 kB / 23.8 MB, free: 0.7656 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.009/1.009, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.6015/0.6015, allocations: 115 MB / 375.7 MB, free: 7.641 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 1.673e-06/1.673e-06, allocations: 0 / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.26e-05, allocations: 2.312 kB / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003873/0.003896, allocations: 2.493 MB / 484 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.00606, allocations: 1.249 MB / 485.2 MB, free: 9.477 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.00619, allocations: 4.281 kB / 485.2 MB, free: 9.477 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005368/0.006727, allocations: 98.55 kB / 485.3 MB, free: 9.426 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004196/0.007147, allocations: 178 kB / 485.5 MB, free: 9.328 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.007431, allocations: 167.8 kB / 485.7 MB, free: 9.246 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.0077, allocations: 331.8 kB / 486 MB, free: 9.102 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002603/0.00796, allocations: 175.1 kB / 486.2 MB, free: 9.023 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.008175, allocations: 198.1 kB / 486.4 MB, free: 8.941 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.008408, allocations: 155.1 kB / 486.5 MB, free: 8.895 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.008441, allocations: 20.72 kB / 486.5 MB, free: 8.895 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.008639, allocations: 150.1 kB / 486.7 MB, free: 8.859 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.274e-05/0.008731, allocations: 116.5 kB / 486.8 MB, free: 8.801 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.276e-05/0.008804, allocations: 90.45 kB / 486.9 MB, free: 8.762 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.0091, allocations: 296.2 kB / 487.2 MB, free: 8.656 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.009102, allocations: 0 / 487.2 MB, free: 8.656 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.009103, allocations: 1.406 kB / 487.2 MB, free: 8.656 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.009107, allocations: 1.062 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.0005669/0.009674, allocations: 0.5717 MB / 487.8 MB, free: 8.168 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.009706, allocations: 10.28 kB / 487.8 MB, free: 8.168 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004546/0.01016, allocations: 144.8 kB / 487.9 MB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.01037, allocations: 201.3 kB / 488.1 MB, free: 7.953 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.01038, allocations: 18.5 kB / 488.1 MB, free: 7.945 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.846e-05/0.01046, allocations: 25.89 kB / 488.1 MB, free: 7.938 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.01078, allocations: 306.6 kB / 488.4 MB, free: 7.734 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.01079, allocations: 1.781 kB / 488.4 MB, free: 7.734 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.01082, allocations: 15.62 kB / 488.5 MB, free: 7.723 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.697e-05/0.01088, allocations: 29.56 kB / 488.5 MB, free: 7.719 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/0.01109, allocations: 123.3 kB / 488.6 MB, free: 7.699 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.01217, allocations: 1.183 MB / 489.8 MB, free: 22.74 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.01241, allocations: 152.7 kB / 489.9 MB, free: 22.67 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.798e-05/0.01248, allocations: 51.52 kB / 490 MB, free: 22.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.988e-05/0.01257, allocations: 11.22 kB / 490 MB, free: 22.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.01259, allocations: 41.08 kB / 490 MB, free: 22.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 1.843e-06/0.01259, allocations: 0 / 490 MB, free: 22.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.000745/0.01334, allocations: 458.8 kB / 490.5 MB, free: 22.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.01336, allocations: 56.48 kB / 490.5 MB, free: 22.26 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.01351, allocations: 232 kB / 490.8 MB, free: 22.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.01353, allocations: 32.17 kB / 490.8 MB, free: 22.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.134e-05/0.01362, allocations: 212.7 kB / 491 MB, free: 21.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.01365, allocations: 70.83 kB / 491.1 MB, free: 21.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/0.01372, allocations: 66.58 kB / 491.1 MB, free: 21.74 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.01383, allocations: 0.4959 MB / 491.6 MB, free: 21.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.519e-05/0.01391, allocations: 45.69 kB / 491.7 MB, free: 21.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.909e-05/0.01401, allocations: 130.2 kB / 491.8 MB, free: 21.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.01419, allocations: 177.4 kB / 492 MB, free: 21.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01419, allocations: 3.281 kB / 492 MB, free: 21.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004063/0.0146, allocations: 270.5 kB / 492.3 MB, free: 20.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.01461, allocations: 9.281 kB / 492.3 MB, free: 20.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01462, allocations: 2.188 kB / 492.3 MB, free: 20.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003752/0.01499, allocations: 109.3 kB / 492.4 MB, free: 20.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.01513, allocations: 52.55 kB / 492.4 MB, free: 20.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.01617, allocations: 1.927 MB / 494.4 MB, free: 19.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.01628, allocations: 14.66 kB / 494.4 MB, free: 19.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.01629, allocations: 11.78 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.027e-05/0.01637, allocations: 170.2 kB / 494.5 MB, free: 18.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.01641, allocations: 26.94 kB / 494.6 MB, free: 18.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.01663, allocations: 182.6 kB / 494.7 MB, free: 18.78 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.01663, allocations: 1.938 kB / 494.7 MB, free: 18.78 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.01663, allocations: 1.438 kB / 494.8 MB, free: 18.78 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01663, allocations: 4.219 kB / 494.8 MB, free: 18.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004396/0.01707, allocations: 0.5252 MB / 495.3 MB, free: 18.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01708, allocations: 5.188 kB / 495.3 MB, free: 18.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.01724, allocations: 67.88 kB / 495.4 MB, free: 18.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.01724, allocations: 5.281 kB / 495.4 MB, free: 18.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.01725, allocations: 2.312 kB / 495.4 MB, free: 18.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.01726, allocations: 1.25 kB / 495.4 MB, free: 18.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.01726, allocations: 1.281 kB / 495.4 MB, free: 18.36 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.01754, allocations: 386.5 kB / 495.7 MB, free: 18.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.044e-05/0.01759, allocations: 34.86 kB / 495.8 MB, free: 18.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.01761, allocations: 10.09 kB / 495.8 MB, free: 18.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.519e-05/0.01769, allocations: 13.58 kB / 495.8 MB, free: 18.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.01772, allocations: 12.72 kB / 495.8 MB, free: 18.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.01773, allocations: 8.031 kB / 495.8 MB, free: 18.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.606e-05/0.0178, allocations: 176 kB / 496 MB, free: 17.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0178, allocations: 2.125 kB / 496 MB, free: 17.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002279/0.01803, allocations: 62.41 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 9.307e-05/0.01812, allocations: 113.8 kB / 496.2 MB, free: 17.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004026/0.01853, allocations: 359.9 kB / 496.5 MB, free: 17.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01853, allocations: 3.125 kB / 496.5 MB, free: 17.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.161e-05/0.0186, allocations: 71.38 kB / 496.6 MB, free: 17.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.01884, allocations: 36.28 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.0008762/0.01971, allocations: 0.5474 MB / 497.2 MB, free: 17.24 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.329e-05/0.01977, allocations: 108.2 kB / 497.3 MB, free: 17.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.797e-05/0.01986, allocations: 41.91 kB / 497.3 MB, free: 17.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.0199, allocations: 22.28 kB / 497.3 MB, free: 17.16 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01991, allocations: 0 / 497.3 MB, free: 17.16 MB / 426.7 MB Notification: Performance of Templates: time 0.0044/0.02431, allocations: 2.802 MB / 0.4884 GB, free: 16.89 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.7266282089985907]