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.001123/0.001123, allocations: 105.1 kB / 16.4 MB, free: 6.449 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.001048/0.001048, allocations: 196 kB / 17.34 MB, free: 5.719 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.258/1.258, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.661/0.6611, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 65.08 kB / 0.5577 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1322, allocations: 76.18 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004289/0.1366, allocations: 3.071 MB / 0.6351 GB, free: 1.324 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002797/0.1394, allocations: 1.714 MB / 0.6367 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.1395, allocations: 4 kB / 0.6367 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.1406, allocations: 336.8 kB / 0.6371 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004212/0.141, allocations: 219.1 kB / 0.6373 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.1414, allocations: 179.5 kB / 0.6374 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003421/0.1418, allocations: 307 kB / 0.6377 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003826/0.1422, allocations: 252.6 kB / 0.638 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.1423, allocations: 131.6 kB / 0.6381 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002898/0.1426, allocations: 159.4 kB / 0.6383 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.1427, allocations: 24 kB / 0.6383 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003355/0.143, allocations: 251.5 kB / 0.6385 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.1431, allocations: 99.78 kB / 0.6386 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.1432, allocations: 123.4 kB / 0.6387 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.1437, allocations: 418.7 kB / 0.6391 GB, free: 13.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1437, allocations: 4 kB / 0.6391 GB, free: 13.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1437, allocations: 3.938 kB / 0.6391 GB, free: 13.13 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1437, allocations: 0 / 0.6391 GB, free: 13.13 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.0008876/0.1446, allocations: 0.5459 MB / 0.6397 GB, free: 12.54 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1446, allocations: 8.031 kB / 0.6397 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006815/0.1453, allocations: 100.5 kB / 0.6398 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.1456, allocations: 252 kB / 0.64 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1456, allocations: 16.81 kB / 0.64 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.647e-05/0.1457, allocations: 32.39 kB / 0.6401 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004984/0.1462, allocations: 377.2 kB / 0.6404 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1463, allocations: 0 / 0.6404 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.1463, allocations: 12 kB / 0.6404 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.914e-05/0.1464, allocations: 24.42 kB / 0.6405 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004214/0.1468, allocations: 309.4 kB / 0.6408 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.1484, allocations: 1.529 MB / 0.6422 GB, free: 9.688 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003876/0.1488, allocations: 234.3 kB / 0.6425 GB, free: 9.449 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.1489, allocations: 116.8 kB / 0.6426 GB, free: 9.332 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.149, allocations: 85.09 kB / 0.6427 GB, free: 9.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.1491, allocations: 38.56 kB / 0.6427 GB, free: 9.184 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.333e-06/0.1491, allocations: 0 / 0.6427 GB, free: 9.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=19): time 0.001107/0.1502, allocations: 0.7881 MB / 0.6435 GB, free: 8.348 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.1502, allocations: 59.41 kB / 0.6435 GB, free: 8.277 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.1504, allocations: 190.6 kB / 0.6437 GB, free: 8.082 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1504, allocations: 33.7 kB / 0.6437 GB, free: 8.043 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.232e-05/0.1505, allocations: 163.9 kB / 0.6439 GB, free: 7.879 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.1506, allocations: 63.02 kB / 0.644 GB, free: 7.816 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.584e-05/0.1507, allocations: 61.59 kB / 0.644 GB, free: 7.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.778e-05/0.1508, allocations: 326.8 kB / 0.6443 GB, free: 7.422 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.1509, allocations: 123.9 kB / 0.6444 GB, free: 7.301 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.1511, allocations: 169.9 kB / 0.6446 GB, free: 7.113 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.1515, allocations: 293.4 kB / 0.6449 GB, free: 6.809 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1515, allocations: 0 / 0.6449 GB, free: 6.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006803/0.1522, allocations: 413.8 kB / 0.6453 GB, free: 6.395 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1522, allocations: 4.188 kB / 0.6453 GB, free: 6.391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1522, allocations: 8 kB / 0.6453 GB, free: 6.383 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003766/0.1526, allocations: 92.77 kB / 0.6454 GB, free: 6.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.1528, allocations: 59.89 kB / 0.6454 GB, free: 6.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/0.1545, allocations: 1.875 MB / 0.6473 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.1547, allocations: 19.95 kB / 0.6473 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.1548, allocations: 8 kB / 0.6473 GB, free: 4.188 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.000132/0.1549, allocations: 161.7 kB / 0.6475 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.1549, allocations: 15.81 kB / 0.6475 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004445/0.1554, allocations: 303.4 kB / 0.6478 GB, free: 3.699 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1554, allocations: 7.922 kB / 0.6478 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.1554, allocations: 4 kB / 0.6478 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.1554, allocations: 3.938 kB / 0.6478 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007757/0.1562, allocations: 0.7029 MB / 0.6485 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1562, allocations: 0 / 0.6485 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.1565, allocations: 64.02 kB / 0.6485 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1565, allocations: 0 / 0.6485 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.1565, allocations: 11.94 kB / 0.6485 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1565, allocations: 3.938 kB / 0.6485 GB, free: 2.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1566, allocations: 4 kB / 0.6485 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005377/0.1571, allocations: 0.5016 MB / 0.649 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.92e-05/0.1572, allocations: 124.9 kB / 0.6491 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.1572, allocations: 8 kB / 0.6492 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.1574, allocations: 16.05 kB / 0.6492 GB, free: 2.152 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.1575, allocations: 15.89 kB / 0.6492 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.1575, allocations: 4 kB / 0.6492 GB, free: 2.133 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.1576, allocations: 156 kB / 0.6493 GB, free: 1.977 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1576, allocations: 0 / 0.6493 GB, free: 1.977 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003203/0.1579, allocations: 63.98 kB / 0.6494 GB, free: 1.914 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.0001384/0.1581, allocations: 111.2 kB / 0.6495 GB, free: 1.793 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006443/0.1587, allocations: 425.7 kB / 0.6499 GB, free: 1.367 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1587, allocations: 0 / 0.6499 GB, free: 1.367 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.1589, allocations: 116.2 kB / 0.65 GB, free: 1.254 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.1592, allocations: 44.03 kB / 0.6501 GB, free: 1.211 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000997/0.1603, allocations: 0.6193 MB / 0.6507 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.1606, allocations: 0.7753 MB / 0.6514 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001406/0.1607, allocations: 53.91 kB / 0.6515 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.825e-05/0.1608, allocations: 19.44 kB / 0.6515 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1608, allocations: 0 / 0.6515 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of Templates: time 0.005442/0.1662, allocations: 2.837 MB / 0.6543 GB, free: 12.87 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)