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.001626/0.001626, allocations: 114 kB / 17.08 MB, free: 5.832 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.001417/0.001417, allocations: 195 kB / 18.02 MB, free: 4.965 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.555/1.555, 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.7029/0.7029, allocations: 115.3 MB / 407.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001213, allocations: 64.89 kB / 0.5583 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1276, allocations: 76.18 MB / 0.6327 GB, free: 4.512 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.00417/0.1318, allocations: 3.073 MB / 0.6357 GB, free: 1.422 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002505/0.1344, allocations: 1.718 MB / 0.6374 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.1345, allocations: 4 kB / 0.6374 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000944/0.1355, allocations: 330.7 kB / 0.6377 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004224/0.1359, allocations: 223.1 kB / 0.6379 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/0.1363, allocations: 183.5 kB / 0.6381 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003327/0.1367, allocations: 315 kB / 0.6384 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003711/0.137, allocations: 240.7 kB / 0.6386 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.1372, allocations: 135.6 kB / 0.6388 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.1375, allocations: 163.4 kB / 0.6389 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.1376, allocations: 20 kB / 0.6389 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003507/0.1379, allocations: 239.5 kB / 0.6392 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.919e-05/0.138, allocations: 99.77 kB / 0.6393 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.1382, allocations: 123.4 kB / 0.6394 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.1386, allocations: 422.7 kB / 0.6398 GB, free: 13.24 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.1386, allocations: 4 kB / 0.6398 GB, free: 13.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1386, allocations: 4 kB / 0.6398 GB, free: 13.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.1386, allocations: 0 / 0.6398 GB, free: 13.23 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.000883/0.1395, allocations: 0.542 MB / 0.6403 GB, free: 12.64 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1396, allocations: 12.03 kB / 0.6403 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007184/0.1403, allocations: 92.45 kB / 0.6404 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.1406, allocations: 264 kB / 0.6407 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.1406, allocations: 12.81 kB / 0.6407 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.131e-05/0.1407, allocations: 36.45 kB / 0.6407 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005211/0.1413, allocations: 369.2 kB / 0.6411 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1413, allocations: 3.938 kB / 0.6411 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.1413, allocations: 11.98 kB / 0.6411 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-05/0.1414, allocations: 32.42 kB / 0.6411 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004243/0.1419, allocations: 305.5 kB / 0.6414 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.1436, allocations: 1.525 MB / 0.6429 GB, free: 9.785 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/0.1443, allocations: 230.4 kB / 0.6431 GB, free: 9.551 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.1445, allocations: 112.8 kB / 0.6432 GB, free: 9.438 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000172/0.1447, allocations: 93.09 kB / 0.6433 GB, free: 9.328 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.1447, allocations: 34.56 kB / 0.6434 GB, free: 9.285 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 2.494e-06/0.1447, allocations: 0 / 0.6434 GB, free: 9.285 MB / 494.1 MB Notification: Performance of matching and sorting (n=19): time 0.001763/0.1465, allocations: 0.7904 MB / 0.6441 GB, free: 8.445 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.1466, allocations: 55.41 kB / 0.6442 GB, free: 8.379 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.1469, allocations: 194.6 kB / 0.6444 GB, free: 8.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.1469, allocations: 29.64 kB / 0.6444 GB, free: 8.145 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.147, allocations: 163.9 kB / 0.6445 GB, free: 7.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.135e-05/0.1471, allocations: 71.02 kB / 0.6446 GB, free: 7.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.1473, allocations: 61.59 kB / 0.6447 GB, free: 7.844 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1474, allocations: 334.7 kB / 0.645 GB, free: 7.508 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.1477, allocations: 111.9 kB / 0.6451 GB, free: 7.398 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.148, allocations: 169.9 kB / 0.6453 GB, free: 7.211 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005708/0.1486, allocations: 289.6 kB / 0.6455 GB, free: 6.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.1486, allocations: 4 kB / 0.6455 GB, free: 6.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00109/0.1497, allocations: 421.8 kB / 0.6459 GB, free: 6.484 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.1497, allocations: 4 kB / 0.6459 GB, free: 6.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.1497, allocations: 4 kB / 0.646 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005452/0.1503, allocations: 100.9 kB / 0.646 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.1507, allocations: 47.95 kB / 0.6461 GB, free: 6.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002679/0.1534, allocations: 1.875 MB / 0.6479 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.1537, allocations: 23.86 kB / 0.6479 GB, free: 4.289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.1538, allocations: 12 kB / 0.648 GB, free: 4.277 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.0002275/0.154, allocations: 157.8 kB / 0.6481 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.961e-05/0.1541, allocations: 15.81 kB / 0.6481 GB, free: 4.098 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006944/0.1548, allocations: 299.3 kB / 0.6484 GB, free: 3.797 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.1548, allocations: 0 / 0.6484 GB, free: 3.797 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.1548, allocations: 0 / 0.6484 GB, free: 3.797 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1548, allocations: 3.938 kB / 0.6484 GB, free: 3.793 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.1561, allocations: 0.7124 MB / 0.6491 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.1561, allocations: 0 / 0.6491 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004543/0.1566, allocations: 56.08 kB / 0.6492 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.1566, allocations: 8 kB / 0.6492 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/0.1567, allocations: 15.92 kB / 0.6492 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1567, allocations: 0 / 0.6492 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1567, allocations: 0 / 0.6492 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008952/0.1576, allocations: 0.518 MB / 0.6497 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.1578, allocations: 120.9 kB / 0.6498 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.1578, allocations: 0 / 0.6498 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.1581, allocations: 15.98 kB / 0.6498 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.1582, allocations: 15.89 kB / 0.6498 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.1582, allocations: 8 kB / 0.6498 GB, free: 2.227 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001806/0.1584, allocations: 148.1 kB / 0.65 GB, free: 2.078 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1584, allocations: 0 / 0.65 GB, free: 2.078 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006126/0.159, allocations: 68 kB / 0.6501 GB, free: 2.012 MB / 494.1 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.0001793/0.1592, allocations: 107.2 kB / 0.6502 GB, free: 1.895 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009689/0.1602, allocations: 428.2 kB / 0.6506 GB, free: 1.469 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.1602, allocations: 4 kB / 0.6506 GB, free: 1.465 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.1605, allocations: 127.8 kB / 0.6507 GB, free: 1.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005848/0.1611, allocations: 40.78 kB / 0.6507 GB, free: 1.305 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.1628, allocations: 0.6564 MB / 0.6514 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.1632, allocations: 0.7714 MB / 0.6521 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.1634, allocations: 23.44 kB / 0.6521 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.1634, allocations: 0 / 0.6521 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of Templates: time 0.007805/0.1712, allocations: 3.606 MB / 0.6557 GB, free: 12.18 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)