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.0008564/0.0008564, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0008705/0.0008707, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 223.3 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001759/0.001759, allocations: 286.3 kB / 291.4 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.009/1.009, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004633/0.0004635, allocations: 13.34 kB / 0.598 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1852, allocations: 88.56 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.005119/0.1903, allocations: 4.096 MB / 0.6885 GB, free: 11.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003083/0.1934, allocations: 2.061 MB / 0.6905 GB, free: 9.258 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.1936, allocations: 8.562 kB / 0.6905 GB, free: 9.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.1939, allocations: 59.5 kB / 0.6906 GB, free: 9.191 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004949/0.1944, allocations: 217.7 kB / 0.6908 GB, free: 8.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006734/0.1951, allocations: 271.4 kB / 0.691 GB, free: 8.719 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006548/0.1957, allocations: 0.6464 MB / 0.6917 GB, free: 8.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.1968, allocations: 0.6059 MB / 0.6923 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.1971, allocations: 179.3 kB / 0.6924 GB, free: 7.281 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004026/0.1975, allocations: 259.1 kB / 0.6927 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.1976, allocations: 20 kB / 0.6927 GB, free: 7.008 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000316/0.1979, allocations: 143.8 kB / 0.6928 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.1981, allocations: 159.6 kB / 0.693 GB, free: 6.711 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.069e-05/0.1982, allocations: 93.52 kB / 0.6931 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004806/0.1986, allocations: 494.7 kB / 0.6935 GB, free: 6.129 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1987, allocations: 0 / 0.6935 GB, free: 6.129 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1987, allocations: 0 / 0.6935 GB, free: 6.129 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.1987, allocations: 0 / 0.6935 GB, free: 6.129 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.0009719/0.1996, allocations: 0.6316 MB / 0.6942 GB, free: 5.449 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1997, allocations: 8.031 kB / 0.6942 GB, free: 5.441 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000923/0.2006, allocations: 143.3 kB / 0.6943 GB, free: 5.301 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.201, allocations: 315.9 kB / 0.6946 GB, free: 4.949 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.2011, allocations: 32.98 kB / 0.6946 GB, free: 4.918 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.121e-05/0.2011, allocations: 36 kB / 0.6947 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008817/0.202, allocations: 0.6143 MB / 0.6953 GB, free: 4.215 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.2021, allocations: 11.88 kB / 0.6953 GB, free: 4.203 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.541e-05/0.2021, allocations: 19.98 kB / 0.6953 GB, free: 4.184 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-05/0.2022, allocations: 44.62 kB / 0.6953 GB, free: 4.141 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006942/0.2029, allocations: 470.2 kB / 0.6958 GB, free: 3.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003315/0.2062, allocations: 3.428 MB / 0.6991 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/0.2069, allocations: 376.9 kB / 0.6995 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/0.2071, allocations: 165.6 kB / 0.6997 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.2072, allocations: 15.97 kB / 0.6997 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.2072, allocations: 34.97 kB / 0.6997 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.283e-06/0.2072, allocations: 0 / 0.6997 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26): time 0.004206/0.2114, allocations: 1.469 MB / 0.7011 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.2115, allocations: 85.05 kB / 0.7012 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003357/0.2118, allocations: 324.4 kB / 0.7015 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.2119, allocations: 29.7 kB / 0.7016 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.212, allocations: 255.3 kB / 0.7018 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.155e-05/0.2121, allocations: 94.73 kB / 0.7019 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.2121, allocations: 12 kB / 0.7019 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2123, allocations: 342.8 kB / 0.7022 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.2126, allocations: 177 kB / 0.7024 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003537/0.2129, allocations: 338.1 kB / 0.7027 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.2133, allocations: 231.8 kB / 0.7029 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2133, allocations: 0 / 0.7029 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002135/0.2154, allocations: 0.9014 MB / 0.7038 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001591/0.2156, allocations: 253.1 kB / 0.7041 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.2156, allocations: 4 kB / 0.7041 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002066/0.2177, allocations: 0.501 MB / 0.7046 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/0.218, allocations: 95.81 kB / 0.7047 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005138/0.2232, allocations: 3.795 MB / 0.7084 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003308/0.2235, allocations: 35.91 kB / 0.7084 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/0.2236, allocations: 20 kB / 0.7084 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.113e-06/0.2236, allocations: 4 kB / 0.7084 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007485/0.2244, allocations: 476 kB / 0.7089 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2244, allocations: 4 kB / 0.7089 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-06/0.2244, allocations: 16.06 kB / 0.7089 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.2248, allocations: 107.8 kB / 0.709 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.2248, allocations: 19.88 kB / 0.709 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.225, allocations: 31.83 kB / 0.709 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.2251, allocations: 20 kB / 0.7091 GB, free: 5.242 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002394/0.2253, allocations: 273.5 kB / 0.7093 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.607e-05/0.2254, allocations: 31.62 kB / 0.7094 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/0.227, allocations: 0.6747 MB / 0.71 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.227, allocations: 4 kB / 0.71 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.227, allocations: 0 / 0.71 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.227, allocations: 7.953 kB / 0.71 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008077/0.2278, allocations: 0.6598 MB / 0.7107 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2278, allocations: 4 kB / 0.7107 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.228, allocations: 43.95 kB / 0.7107 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001345/0.2294, allocations: 405.3 kB / 0.7111 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.2294, allocations: 4 kB / 0.7111 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003664/0.2331, allocations: 3.474 MB / 0.7145 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.2331, allocations: 4.031 kB / 0.7145 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.2347, allocations: 0.8271 MB / 0.7153 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.2349, allocations: 144.6 kB / 0.7154 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.2349, allocations: 0 / 0.7154 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/0.2352, allocations: 43.89 kB / 0.7155 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.2353, allocations: 19.97 kB / 0.7155 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.2353, allocations: 12 kB / 0.7155 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002278/0.2355, allocations: 223 kB / 0.7157 GB, free: 14 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2356, allocations: 4 kB / 0.7157 GB, free: 14 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008302/0.2364, allocations: 192 kB / 0.7159 GB, free: 13.81 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001604/0.2366, allocations: 107.2 kB / 0.716 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001513/0.2381, allocations: 0.9681 MB / 0.717 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.2381, allocations: 0.5625 kB / 0.717 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006616/0.2388, allocations: 473.2 kB / 0.7174 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/0.2393, allocations: 81.62 kB / 0.7175 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.2406, allocations: 0.9131 MB / 0.7184 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.241, allocations: 0.8548 MB / 0.7192 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003919/0.2414, allocations: 139.1 kB / 0.7194 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.624e-05/0.2415, allocations: 27.44 kB / 0.7194 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of SimCode: time 5e-07/0.2415, allocations: 3.938 kB / 0.7194 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of Templates: time 0.01115/0.2526, allocations: 6.605 MB / 0.7258 GB, free: 3.582 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)