Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.001296/0.001296, allocations: 111.3 kB / 17.33 MB, free: 5.043 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.001251/0.001251, allocations: 202.6 kB / 18.33 MB, free: 4.055 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.353/1.353, allocations: 225.6 MB / 244.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7851/0.7851, allocations: 128.4 MB / 426.1 MB, free: 7.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 63.34 kB / 0.5911 GB, free: 21.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1626, allocations: 83.26 MB / 0.6725 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004173/0.1668, allocations: 2.638 MB / 0.675 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002451/0.1692, allocations: 1.504 MB / 0.6765 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.1693, allocations: 7.938 kB / 0.6765 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007819/0.1701, allocations: 227.1 kB / 0.6767 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000471/0.1706, allocations: 187.2 kB / 0.6769 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.171, allocations: 147.6 kB / 0.677 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003531/0.1713, allocations: 235.3 kB / 0.6773 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003155/0.1716, allocations: 134.5 kB / 0.6774 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.1718, allocations: 103.6 kB / 0.6775 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002959/0.1721, allocations: 123.5 kB / 0.6776 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.1722, allocations: 15.94 kB / 0.6776 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004345/0.1726, allocations: 227.5 kB / 0.6778 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.1727, allocations: 71.81 kB / 0.6779 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.1728, allocations: 91.58 kB / 0.678 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005257/0.1733, allocations: 326.8 kB / 0.6783 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1733, allocations: 0 / 0.6783 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1733, allocations: 0 / 0.6783 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.1733, allocations: 4 kB / 0.6783 GB, free: 13.86 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0008381/0.1742, allocations: 499.5 kB / 0.6788 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.1742, allocations: 8.625 kB / 0.6788 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006319/0.1748, allocations: 84.64 kB / 0.6789 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.1752, allocations: 236.1 kB / 0.6791 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.1752, allocations: 12.64 kB / 0.6791 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.712e-05/0.1752, allocations: 16.38 kB / 0.6791 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005149/0.1757, allocations: 324.4 kB / 0.6794 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.1758, allocations: 4 kB / 0.6794 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/0.1758, allocations: 8 kB / 0.6795 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.746e-05/0.1758, allocations: 20.27 kB / 0.6795 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004092/0.1763, allocations: 252.6 kB / 0.6797 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.1781, allocations: 1.63 MB / 0.6813 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006494/0.1788, allocations: 399.2 kB / 0.6817 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.1789, allocations: 85.88 kB / 0.6818 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.1791, allocations: 93.03 kB / 0.6819 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.1791, allocations: 42.5 kB / 0.6819 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.1791, allocations: 0 / 0.6819 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.000684/0.1798, allocations: 304.8 kB / 0.6822 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.1798, allocations: 89.28 kB / 0.6823 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.18, allocations: 172.8 kB / 0.6824 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.18, allocations: 25.7 kB / 0.6825 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.1801, allocations: 156.1 kB / 0.6826 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/0.1802, allocations: 51.59 kB / 0.6827 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.777e-05/0.1803, allocations: 49.64 kB / 0.6827 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1804, allocations: 326.8 kB / 0.683 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.1806, allocations: 84.81 kB / 0.6831 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.1808, allocations: 153.3 kB / 0.6833 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.1811, allocations: 256.1 kB / 0.6835 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1811, allocations: 192 / 0.6835 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004145/0.1815, allocations: 261.3 kB / 0.6837 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.1815, allocations: 11.94 kB / 0.6838 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1815, allocations: 4 kB / 0.6838 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.1815, allocations: 7.938 kB / 0.6838 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.1818, allocations: 56.2 kB / 0.6838 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.1818, allocations: 4 kB / 0.6838 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.1819, allocations: 23.88 kB / 0.6838 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.182, allocations: 8 kB / 0.6839 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000202/0.1822, allocations: 180 kB / 0.684 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001748/0.1823, allocations: 153.1 kB / 0.6842 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002974/0.1826, allocations: 230.1 kB / 0.6844 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.4e-06/0.1826, allocations: 4 kB / 0.6844 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004004/0.183, allocations: 252.7 kB / 0.6846 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.1831, allocations: 4 kB / 0.6846 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1831, allocations: 4 kB / 0.6846 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.51e-06/0.1831, allocations: 4 kB / 0.6846 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.1832, allocations: 51.84 kB / 0.6847 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.1833, allocations: 4 kB / 0.6847 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.1834, allocations: 19.94 kB / 0.6847 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.1834, allocations: 11.94 kB / 0.6847 GB, free: 6.719 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (25): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.1835, allocations: 196.5 kB / 0.6849 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.781e-05/0.1836, allocations: 15.91 kB / 0.6849 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003791/0.184, allocations: 207.7 kB / 0.6851 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.184, allocations: 4.031 kB / 0.6851 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.184, allocations: 0 / 0.6851 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.184, allocations: 3.984 kB / 0.6851 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.1854, allocations: 0.9613 MB / 0.6861 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.1854, allocations: 4 kB / 0.6861 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.1856, allocations: 39.91 kB / 0.6861 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.1856, allocations: 4 kB / 0.6861 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.1856, allocations: 8 kB / 0.6861 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.1856, allocations: 4 kB / 0.6861 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.1856, allocations: 11.88 kB / 0.6861 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004537/0.186, allocations: 433.3 kB / 0.6866 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.1862, allocations: 124.9 kB / 0.6867 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.1862, allocations: 4 kB / 0.6867 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.1864, allocations: 15.98 kB / 0.6867 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.1864, allocations: 23.86 kB / 0.6867 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.1864, allocations: 4 kB / 0.6867 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001388/0.1866, allocations: 139.2 kB / 0.6869 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1866, allocations: 0 / 0.6869 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004959/0.1871, allocations: 72 kB / 0.6869 GB, free: 4.27 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 simulation (14): * Single equations (assignments): 14 * 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.0001565/0.1872, allocations: 107.2 kB / 0.687 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000478/0.1877, allocations: 291.4 kB / 0.6873 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.1877, allocations: 5.312 kB / 0.6873 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.1878, allocations: 80.31 kB / 0.6874 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000494/0.1883, allocations: 32.86 kB / 0.6874 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008963/0.1892, allocations: 476.7 kB / 0.6879 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/0.1897, allocations: 0.748 MB / 0.6886 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002101/0.1899, allocations: 73.47 kB / 0.6887 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.19, allocations: 23.44 kB / 0.6887 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.19, allocations: 0 / 0.6887 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of Templates: time 0.005352/0.1953, allocations: 1.883 MB / 0.6905 GB, free: 500 kB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480]