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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 113.1 kB / 17.33 MB, free: 5.008 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.001472/0.001472, allocations: 197.8 kB / 18.33 MB, free: 4.016 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.362/1.362, allocations: 225.6 MB / 244.8 MB, free: 13.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7983/0.7983, allocations: 128.4 MB / 426.1 MB, free: 7.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 67.78 kB / 0.5911 GB, free: 21.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1553, allocations: 83.26 MB / 0.6725 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004762/0.1601, allocations: 3.121 MB / 0.6755 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00274/0.1628, allocations: 1.741 MB / 0.6772 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.1629, allocations: 8 kB / 0.6772 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000986/0.1639, allocations: 334.7 kB / 0.6775 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004457/0.1644, allocations: 219.1 kB / 0.6777 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.1648, allocations: 183.5 kB / 0.6779 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003853/0.1652, allocations: 315 kB / 0.6782 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000343/0.1656, allocations: 200.6 kB / 0.6784 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.1658, allocations: 131.6 kB / 0.6785 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.1661, allocations: 171.4 kB / 0.6787 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.1661, allocations: 20 kB / 0.6787 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003929/0.1665, allocations: 251.5 kB / 0.679 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.1666, allocations: 111.7 kB / 0.6791 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.1668, allocations: 119.4 kB / 0.6792 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005453/0.1673, allocations: 426.5 kB / 0.6796 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1673, allocations: 0 / 0.6796 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1673, allocations: 0 / 0.6796 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.1673, allocations: 0 / 0.6796 GB, free: 12.56 MB / 0.5137 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.000995/0.1683, allocations: 0.5493 MB / 0.6801 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.1683, allocations: 15.97 kB / 0.6801 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007073/0.1691, allocations: 92.69 kB / 0.6802 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.1694, allocations: 260 kB / 0.6805 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.1694, allocations: 16.81 kB / 0.6805 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.971e-05/0.1695, allocations: 24.5 kB / 0.6805 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005775/0.1701, allocations: 377.2 kB / 0.6809 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.1701, allocations: 7.953 kB / 0.6809 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.1701, allocations: 11.98 kB / 0.6809 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.389e-05/0.1702, allocations: 24.42 kB / 0.6809 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005377/0.1708, allocations: 313.4 kB / 0.6812 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.1726, allocations: 1.514 MB / 0.6827 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/0.1731, allocations: 218.3 kB / 0.6829 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.1732, allocations: 104.8 kB / 0.683 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001376/0.1734, allocations: 93.09 kB / 0.6831 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.1734, allocations: 34.56 kB / 0.6831 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.142e-06/0.1734, allocations: 0 / 0.6831 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.001238/0.1746, allocations: 0.7905 MB / 0.6839 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.1747, allocations: 59.41 kB / 0.684 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.1749, allocations: 194.6 kB / 0.6841 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.1749, allocations: 25.7 kB / 0.6842 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.175, allocations: 168.1 kB / 0.6843 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.442e-05/0.1751, allocations: 79.36 kB / 0.6844 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.532e-05/0.1752, allocations: 57.64 kB / 0.6845 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1753, allocations: 330.8 kB / 0.6848 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.1755, allocations: 111.9 kB / 0.6849 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.1757, allocations: 173.9 kB / 0.685 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004122/0.1761, allocations: 285.9 kB / 0.6853 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1761, allocations: 4 kB / 0.6853 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007721/0.1769, allocations: 412.8 kB / 0.6857 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1769, allocations: 8 kB / 0.6857 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1769, allocations: 3.938 kB / 0.6857 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004053/0.1773, allocations: 105 kB / 0.6858 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.1776, allocations: 55.89 kB / 0.6859 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.1796, allocations: 1.876 MB / 0.6877 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.1798, allocations: 15.92 kB / 0.6877 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.1799, allocations: 12 kB / 0.6877 GB, free: 3.617 MB / 0.5137 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.0001643/0.18, allocations: 153.8 kB / 0.6879 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.1801, allocations: 15.91 kB / 0.6879 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005122/0.1806, allocations: 309.1 kB / 0.6882 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1806, allocations: 4.188 kB / 0.6882 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.1806, allocations: 4 kB / 0.6882 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1806, allocations: 3.938 kB / 0.6882 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009323/0.1815, allocations: 0.699 MB / 0.6889 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1815, allocations: 4 kB / 0.6889 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/0.1818, allocations: 51.95 kB / 0.6889 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.1818, allocations: 4 kB / 0.6889 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.1819, allocations: 19.92 kB / 0.689 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1819, allocations: 4 kB / 0.689 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1819, allocations: 0 / 0.689 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006408/0.1825, allocations: 0.5048 MB / 0.6895 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.1826, allocations: 124.8 kB / 0.6896 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.1827, allocations: 4.062 kB / 0.6896 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.1828, allocations: 19.98 kB / 0.6896 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.1829, allocations: 11.97 kB / 0.6896 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.1829, allocations: 11.94 kB / 0.6896 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001453/0.183, allocations: 148 kB / 0.6898 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.183, allocations: 0 / 0.6898 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003414/0.1834, allocations: 68 kB / 0.6898 GB, free: 1.355 MB / 0.5137 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.0001598/0.1835, allocations: 111.2 kB / 0.6899 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007121/0.1842, allocations: 410.4 kB / 0.6903 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1842, allocations: 0 / 0.6903 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.1844, allocations: 111.9 kB / 0.6904 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.1848, allocations: 48.84 kB / 0.6905 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.1859, allocations: 0.6188 MB / 0.6911 GB, free: 16 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.1863, allocations: 0.779 MB / 0.6918 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001577/0.1865, allocations: 61.89 kB / 0.6919 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.086e-05/0.1866, allocations: 19.44 kB / 0.6919 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.1866, allocations: 0 / 0.6919 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of Templates: time 0.007317/0.1939, allocations: 2.904 MB / 0.6948 GB, free: 12.24 MB / 0.5294 GB 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480]