Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007684/0.0007684, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00495/0.00495, allocations: 171.1 kB / 16.26 MB, free: 6.613 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: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001726/0.001726, allocations: 262.7 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9539/0.9539, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004495/0.0004495, allocations: 22.06 kB / 0.5987 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1576, allocations: 88.54 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.004785/0.1625, allocations: 4.283 MB / 0.6893 GB, free: 10.79 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003056/0.1655, allocations: 2.174 MB / 0.6914 GB, free: 8.617 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.1657, allocations: 7.938 kB / 0.6914 GB, free: 8.609 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.1659, allocations: 63.48 kB / 0.6915 GB, free: 8.547 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005085/0.1664, allocations: 251.7 kB / 0.6917 GB, free: 8.301 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006618/0.1671, allocations: 317.4 kB / 0.692 GB, free: 7.996 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006912/0.1678, allocations: 0.8064 MB / 0.6928 GB, free: 7.188 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.1689, allocations: 0.649 MB / 0.6935 GB, free: 6.527 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.1691, allocations: 183.3 kB / 0.6936 GB, free: 6.348 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003841/0.1695, allocations: 267 kB / 0.6939 GB, free: 6.086 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.965e-05/0.1696, allocations: 16 kB / 0.6939 GB, free: 6.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004111/0.17, allocations: 295.4 kB / 0.6942 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.1702, allocations: 163.5 kB / 0.6943 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.1703, allocations: 216.6 kB / 0.6946 GB, free: 5.402 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005574/0.1709, allocations: 0.619 MB / 0.6952 GB, free: 4.781 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.1709, allocations: 8 kB / 0.6952 GB, free: 4.773 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1709, allocations: 0 / 0.6952 GB, free: 4.773 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1709, allocations: 0 / 0.6952 GB, free: 4.773 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0009194/0.1719, allocations: 0.6356 MB / 0.6958 GB, free: 4.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1719, allocations: 8.031 kB / 0.6958 GB, free: 4.082 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00093/0.1728, allocations: 132.3 kB / 0.6959 GB, free: 3.953 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.1733, allocations: 333 kB / 0.6962 GB, free: 3.586 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.1733, allocations: 25.36 kB / 0.6963 GB, free: 3.562 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.365e-05/0.1734, allocations: 36.38 kB / 0.6963 GB, free: 3.527 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000822/0.1742, allocations: 0.6263 MB / 0.6969 GB, free: 2.844 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.1742, allocations: 11.94 kB / 0.6969 GB, free: 2.832 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.775e-05/0.1743, allocations: 19.98 kB / 0.6969 GB, free: 2.812 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.656e-05/0.1744, allocations: 40.62 kB / 0.697 GB, free: 2.773 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006703/0.175, allocations: 474.2 kB / 0.6974 GB, free: 2.309 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003092/0.1781, allocations: 3.424 MB / 0.7008 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006384/0.1788, allocations: 376.9 kB / 0.7011 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.179, allocations: 173.6 kB / 0.7013 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.1791, allocations: 7.969 kB / 0.7013 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.1791, allocations: 38.97 kB / 0.7013 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.503e-06/0.1791, allocations: 0 / 0.7013 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26): time 0.00448/0.1836, allocations: 1.472 MB / 0.7028 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.1837, allocations: 81.11 kB / 0.7029 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.184, allocations: 328.4 kB / 0.7032 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.184, allocations: 29.7 kB / 0.7032 GB, free: 12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.1842, allocations: 251.4 kB / 0.7034 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.026e-05/0.1842, allocations: 106.6 kB / 0.7035 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.259e-05/0.1843, allocations: 45.69 kB / 0.7036 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1844, allocations: 338.8 kB / 0.7039 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.1847, allocations: 177 kB / 0.7041 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000333/0.185, allocations: 342 kB / 0.7044 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006175/0.1856, allocations: 0.5314 MB / 0.7049 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.1857, allocations: 0 / 0.7049 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002204/0.1879, allocations: 0.9096 MB / 0.7058 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001499/0.188, allocations: 258.7 kB / 0.7061 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.188, allocations: 8 kB / 0.7061 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002263/0.1903, allocations: 0.501 MB / 0.7066 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.1907, allocations: 99.81 kB / 0.7067 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005026/0.1957, allocations: 3.773 MB / 0.7103 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003544/0.1961, allocations: 43.88 kB / 0.7104 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.1961, allocations: 23.98 kB / 0.7104 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.354e-06/0.1961, allocations: 4 kB / 0.7104 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006528/0.1968, allocations: 475.6 kB / 0.7109 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.1968, allocations: 4 kB / 0.7109 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.732e-06/0.1968, allocations: 8 kB / 0.7109 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/0.1972, allocations: 107.8 kB / 0.711 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.1972, allocations: 15.92 kB / 0.711 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.1975, allocations: 39.77 kB / 0.711 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.1975, allocations: 23.98 kB / 0.711 GB, free: 3.434 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002363/0.1978, allocations: 273.9 kB / 0.7113 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.818e-05/0.1979, allocations: 35.77 kB / 0.7113 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.1995, allocations: 0.667 MB / 0.712 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.1995, allocations: 8 kB / 0.712 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.1995, allocations: 0 / 0.712 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.1995, allocations: 7.984 kB / 0.712 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007983/0.2003, allocations: 0.6636 MB / 0.7127 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2003, allocations: 0 / 0.7127 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.2005, allocations: 39.97 kB / 0.7127 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001479/0.202, allocations: 409.3 kB / 0.7131 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.202, allocations: 4 kB / 0.7131 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003463/0.2055, allocations: 3.47 MB / 0.7165 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.2055, allocations: 3.984 kB / 0.7165 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.2071, allocations: 0.8232 MB / 0.7173 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.2072, allocations: 148.6 kB / 0.7174 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.2073, allocations: 4 kB / 0.7174 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/0.2076, allocations: 39.94 kB / 0.7175 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/0.2077, allocations: 23.97 kB / 0.7175 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.2077, allocations: 8 kB / 0.7175 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002141/0.208, allocations: 231 kB / 0.7177 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.208, allocations: 0 / 0.7177 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008114/0.2088, allocations: 192.1 kB / 0.7179 GB, free: 12 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001535/0.2089, allocations: 115.9 kB / 0.718 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001472/0.2104, allocations: 0.9789 MB / 0.719 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.2104, allocations: 0 / 0.719 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006633/0.2111, allocations: 482.3 kB / 0.7194 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006025/0.2117, allocations: 74.92 kB / 0.7195 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.2129, allocations: 0.9286 MB / 0.7204 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.2133, allocations: 0.847 MB / 0.7212 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003767/0.2137, allocations: 139.2 kB / 0.7214 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.403e-05/0.2138, allocations: 31.44 kB / 0.7214 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.2138, allocations: 4 kB / 0.7214 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of Templates: time 0.01084/0.2246, allocations: 6.758 MB / 0.728 GB, free: 1.59 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)