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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 116.1 kB / 17.09 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 198.8 kB / 18.03 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6847/0.6847, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 64.72 kB / 0.5583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1347, allocations: 76.18 MB / 0.6327 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004731/0.1395, allocations: 3.06 MB / 0.6357 GB, free: 1.348 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003057/0.1426, allocations: 1.726 MB / 0.6374 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000234/0.1428, allocations: 4 kB / 0.6374 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.144, allocations: 330.7 kB / 0.6377 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005711/0.1446, allocations: 211.1 kB / 0.6379 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005268/0.1451, allocations: 185.9 kB / 0.6381 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004858/0.1456, allocations: 323 kB / 0.6384 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004483/0.1461, allocations: 240.7 kB / 0.6386 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002737/0.1464, allocations: 131.6 kB / 0.6388 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003857/0.1468, allocations: 163.4 kB / 0.6389 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.271e-05/0.1468, allocations: 24 kB / 0.639 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004754/0.1473, allocations: 247.5 kB / 0.6392 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.1475, allocations: 99.77 kB / 0.6393 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.1476, allocations: 119.4 kB / 0.6394 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005871/0.1482, allocations: 430.7 kB / 0.6398 GB, free: 13.15 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1482, allocations: 0 / 0.6398 GB, free: 13.15 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1482, allocations: 0 / 0.6398 GB, free: 13.15 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.1482, allocations: 0 / 0.6398 GB, free: 13.15 MB / 494.1 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.001092/0.1493, allocations: 0.542 MB / 0.6403 GB, free: 12.56 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.1494, allocations: 12.02 kB / 0.6403 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007577/0.1502, allocations: 100.5 kB / 0.6404 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.1505, allocations: 248 kB / 0.6407 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.1506, allocations: 16.8 kB / 0.6407 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.1507, allocations: 28.47 kB / 0.6407 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005677/0.1513, allocations: 377.2 kB / 0.6411 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.1513, allocations: 0 / 0.6411 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.1513, allocations: 8 kB / 0.6411 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/0.1514, allocations: 32.36 kB / 0.6411 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004594/0.1519, allocations: 305.5 kB / 0.6414 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.1538, allocations: 1.521 MB / 0.6429 GB, free: 9.719 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004529/0.1543, allocations: 250.2 kB / 0.6431 GB, free: 9.465 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.1545, allocations: 114.2 kB / 0.6432 GB, free: 9.352 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/0.1546, allocations: 85.09 kB / 0.6433 GB, free: 9.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.1547, allocations: 34.56 kB / 0.6434 GB, free: 9.207 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 2.505e-06/0.1547, allocations: 0 / 0.6434 GB, free: 9.207 MB / 494.1 MB Notification: Performance of matching and sorting (n=19): time 0.001516/0.1562, allocations: 0.7943 MB / 0.6441 GB, free: 8.363 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.1563, allocations: 55.41 kB / 0.6442 GB, free: 8.297 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.1565, allocations: 190.6 kB / 0.6444 GB, free: 8.102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.1566, allocations: 33.7 kB / 0.6444 GB, free: 8.062 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.1568, allocations: 159.9 kB / 0.6446 GB, free: 7.902 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.316e-05/0.1569, allocations: 70.98 kB / 0.6446 GB, free: 7.832 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.1571, allocations: 53.61 kB / 0.6447 GB, free: 7.773 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002596/0.1574, allocations: 330.8 kB / 0.645 GB, free: 7.441 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.1577, allocations: 131.9 kB / 0.6451 GB, free: 7.312 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.1579, allocations: 161.9 kB / 0.6453 GB, free: 7.133 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004299/0.1583, allocations: 297.4 kB / 0.6456 GB, free: 6.824 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1583, allocations: 0 / 0.6456 GB, free: 6.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007693/0.1591, allocations: 414.1 kB / 0.6459 GB, free: 6.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.1591, allocations: 7.938 kB / 0.646 GB, free: 6.402 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.1592, allocations: 4 kB / 0.646 GB, free: 6.398 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004225/0.1596, allocations: 96.75 kB / 0.6461 GB, free: 6.301 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.1598, allocations: 55.84 kB / 0.6461 GB, free: 6.246 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.1619, allocations: 1.879 MB / 0.6479 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.1622, allocations: 16.02 kB / 0.648 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-05/0.1622, allocations: 12.12 kB / 0.648 GB, free: 4.199 MB / 494.1 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 0.0002135/0.1624, allocations: 161.7 kB / 0.6481 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-05/0.1625, allocations: 15.81 kB / 0.6481 GB, free: 4.016 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005083/0.163, allocations: 303.4 kB / 0.6484 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.163, allocations: 0 / 0.6484 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.163, allocations: 3.984 kB / 0.6484 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.1632, allocations: 112.9 kB / 0.6485 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.1632, allocations: 11.92 kB / 0.6486 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.1634, allocations: 11.98 kB / 0.6486 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.1634, allocations: 11.98 kB / 0.6486 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006925/0.1641, allocations: 393.6 kB / 0.6489 GB, free: 3.152 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006444/0.1648, allocations: 0.5902 MB / 0.6495 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001558/0.165, allocations: 119.9 kB / 0.6496 GB, free: 2.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.1651, allocations: 152.1 kB / 0.6498 GB, free: 2.277 MB / 494.1 MB Notification: Performance of Backend: time 5.31e-07/0.1651, allocations: 0 / 0.6498 GB, free: 2.277 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.1663, allocations: 0.5117 MB / 0.6503 GB, free: 1.746 MB / 494.1 MB Notification: Performance of SimCode: time 0.001164/0.1675, allocations: 0.9854 MB / 0.6512 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of Templates: time 0.008254/0.1758, allocations: 4.514 MB / 0.6557 GB, free: 12.21 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)