Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001894/0.001894, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.002154/0.002154, allocations: 220 kB / 23.02 MB, free: 2.945 MB / 13.93 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.701/1.701, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.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.305/3.305, allocations: 0.5045 GB / 0.8104 GB, free: 2.805 MB / 0.6511 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.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.005224/0.005224, allocations: 67.89 kB / 1.177 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8488/0.854, allocations: 180 MB / 1.353 GB, free: 1.699 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.007323/0.8613, allocations: 3.1 MB / 1.356 GB, free: 14.59 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.004299/0.8656, allocations: 1.691 MB / 1.358 GB, free: 12.89 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.8658, allocations: 7.938 kB / 1.358 GB, free: 12.88 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.8672, allocations: 335.7 kB / 1.358 GB, free: 12.55 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.000724/0.8679, allocations: 215 kB / 1.358 GB, free: 12.34 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006566/0.8686, allocations: 179.6 kB / 1.358 GB, free: 12.16 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0005687/0.8691, allocations: 315 kB / 1.359 GB, free: 11.86 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004523/0.8696, allocations: 167.9 kB / 1.359 GB, free: 11.69 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003546/0.8699, allocations: 151.4 kB / 1.359 GB, free: 11.54 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004381/0.8704, allocations: 167.4 kB / 1.359 GB, free: 11.38 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 5.479e-05/0.8704, allocations: 20 kB / 1.359 GB, free: 11.36 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005458/0.871, allocations: 223.5 kB / 1.359 GB, free: 11.14 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.8712, allocations: 103.7 kB / 1.359 GB, free: 11.04 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004089/0.8716, allocations: 95.59 kB / 1.359 GB, free: 10.95 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008229/0.8724, allocations: 422.5 kB / 1.36 GB, free: 10.53 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.8724, allocations: 0 / 1.36 GB, free: 10.53 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8724, allocations: 7.875 kB / 1.36 GB, free: 10.52 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.8724, allocations: 4 kB / 1.36 GB, free: 10.52 MB / 1.042 GB 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.001266/0.8737, allocations: 489.4 kB / 1.36 GB, free: 10.01 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.8737, allocations: 8.922 kB / 1.36 GB, free: 10 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.8748, allocations: 92.69 kB / 1.36 GB, free: 9.91 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004761/0.8752, allocations: 198.1 kB / 1.361 GB, free: 9.691 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.8753, allocations: 16.81 kB / 1.361 GB, free: 9.676 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.8754, allocations: 24.55 kB / 1.361 GB, free: 9.652 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009578/0.8764, allocations: 428.1 kB / 1.361 GB, free: 9.203 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.8764, allocations: 7.984 kB / 1.361 GB, free: 9.195 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.044e-05/0.8764, allocations: 15.98 kB / 1.361 GB, free: 9.18 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001362/0.8766, allocations: 28.41 kB / 1.361 GB, free: 9.152 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007653/0.8773, allocations: 305.5 kB / 1.361 GB, free: 8.852 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/0.8797, allocations: 1.042 MB / 1.362 GB, free: 7.766 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006593/0.8803, allocations: 206.4 kB / 1.363 GB, free: 7.555 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.8806, allocations: 116.7 kB / 1.363 GB, free: 7.438 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.8807, allocations: 8 kB / 1.363 GB, free: 7.43 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.8808, allocations: 34.56 kB / 1.363 GB, free: 7.387 MB / 1.042 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.8808, allocations: 0 / 1.363 GB, free: 7.387 MB / 1.042 GB Notification: Performance of matching and sorting (n=19): time 0.001887/0.8827, allocations: 0.7133 MB / 1.363 GB, free: 6.641 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.8827, allocations: 55.41 kB / 1.364 GB, free: 6.574 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.883, allocations: 184.4 kB / 1.364 GB, free: 6.387 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.8831, allocations: 33.7 kB / 1.364 GB, free: 6.348 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.8832, allocations: 168.5 kB / 1.364 GB, free: 6.18 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 9.907e-05/0.8833, allocations: 75.38 kB / 1.364 GB, free: 6.105 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.8835, allocations: 53.69 kB / 1.364 GB, free: 6.047 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002315/0.8837, allocations: 330.8 kB / 1.364 GB, free: 5.715 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/0.884, allocations: 111.9 kB / 1.364 GB, free: 5.605 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/0.8844, allocations: 173.9 kB / 1.365 GB, free: 5.414 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006725/0.885, allocations: 307.9 kB / 1.365 GB, free: 5.094 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.885, allocations: 0 / 1.365 GB, free: 5.094 MB / 1.042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001187/0.8862, allocations: 406.7 kB / 1.365 GB, free: 4.688 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.8862, allocations: 13.5 kB / 1.365 GB, free: 4.676 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.8863, allocations: 0 / 1.365 GB, free: 4.676 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005865/0.8868, allocations: 105 kB / 1.365 GB, free: 4.57 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.8872, allocations: 51.89 kB / 1.365 GB, free: 4.52 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003329/0.8905, allocations: 1.741 MB / 1.367 GB, free: 2.672 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/0.8908, allocations: 16.02 kB / 1.367 GB, free: 2.656 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/0.8909, allocations: 15.98 kB / 1.367 GB, free: 2.641 MB / 1.042 GB 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 0.0002456/0.8911, allocations: 161.6 kB / 1.367 GB, free: 2.473 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.798e-05/0.8912, allocations: 19.84 kB / 1.367 GB, free: 2.453 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007648/0.892, allocations: 297.1 kB / 1.368 GB, free: 2.156 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.892, allocations: 192 / 1.368 GB, free: 2.156 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.892, allocations: 8 kB / 1.368 GB, free: 2.148 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.892, allocations: 7.922 kB / 1.368 GB, free: 2.141 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.8933, allocations: 0.6011 MB / 1.368 GB, free: 1.496 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.8933, allocations: 4 kB / 1.368 GB, free: 1.492 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000442/0.8938, allocations: 55.95 kB / 1.368 GB, free: 1.438 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.8938, allocations: 4 kB / 1.368 GB, free: 1.434 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.8938, allocations: 7.984 kB / 1.368 GB, free: 1.426 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.8938, allocations: 8.062 kB / 1.368 GB, free: 1.418 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8938, allocations: 3.938 kB / 1.368 GB, free: 1.414 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.8948, allocations: 0.5048 MB / 1.369 GB, free: 0.8867 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.895, allocations: 39.91 kB / 1.369 GB, free: 0.8477 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.464e-05/0.895, allocations: 4 kB / 1.369 GB, free: 0.8438 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.8953, allocations: 19.92 kB / 1.369 GB, free: 0.8242 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.097e-05/0.8953, allocations: 15.91 kB / 1.369 GB, free: 0.8086 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.8953, allocations: 4 kB / 1.369 GB, free: 0.8047 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0002046/0.8955, allocations: 140.2 kB / 1.369 GB, free: 0.668 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8955, allocations: 0 / 1.369 GB, free: 0.668 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0005913/0.8961, allocations: 72.06 kB / 1.369 GB, free: 0.5977 MB / 1.042 GB 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.0002032/0.8963, allocations: 115.2 kB / 1.369 GB, free: 484 kB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.8974, allocations: 400.9 kB / 1.37 GB, free: 72 kB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.8974, allocations: 0 / 1.37 GB, free: 72 kB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.8977, allocations: 118.8 kB / 1.37 GB, free: 15.96 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005474/0.8982, allocations: 40.91 kB / 1.37 GB, free: 15.92 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.9, allocations: 0.6314 MB / 1.37 GB, free: 15.25 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.9002, allocations: 165.2 kB / 1.371 GB, free: 15.07 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0002415/0.9005, allocations: 57.91 kB / 1.371 GB, free: 15.02 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.9006, allocations: 19.44 kB / 1.371 GB, free: 15 MB / 1.057 GB Notification: Performance of SimCode: time 4.3e-07/0.9006, allocations: 0 / 1.371 GB, free: 15 MB / 1.057 GB Notification: Performance of Templates: time 0.01918/0.9198, allocations: 2.996 MB / 1.374 GB, free: 12.04 MB / 1.057 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.105613760650158]