Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0007837/0.0007836, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008423/0.0008423, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.653/1.653, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005453/0.0005453, allocations: 15.81 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2333, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.004379/0.2377, allocations: 4.095 MB / 0.7913 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00285/0.2406, allocations: 2.082 MB / 0.7933 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.2408, allocations: 11.94 kB / 0.7933 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.241, allocations: 63.48 kB / 0.7934 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004481/0.2414, allocations: 215 kB / 0.7936 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005784/0.242, allocations: 263.5 kB / 0.7938 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005669/0.2426, allocations: 0.6464 MB / 0.7945 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009696/0.2436, allocations: 0.6086 MB / 0.7951 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.2438, allocations: 183.3 kB / 0.7952 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000361/0.2442, allocations: 255.1 kB / 0.7955 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.756e-05/0.2442, allocations: 16 kB / 0.7955 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002572/0.2445, allocations: 151.8 kB / 0.7956 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.2446, allocations: 155.6 kB / 0.7958 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.159e-05/0.2447, allocations: 93.52 kB / 0.7959 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004219/0.2451, allocations: 494.9 kB / 0.7964 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2452, allocations: 0 / 0.7964 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2452, allocations: 0 / 0.7964 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.2452, allocations: 0 / 0.7964 GB, free: 2.586 MB / 0.6075 GB 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.0008881/0.2461, allocations: 0.6394 MB / 0.797 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.2461, allocations: 8.031 kB / 0.797 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008811/0.247, allocations: 139.3 kB / 0.7971 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.2474, allocations: 319.3 kB / 0.7974 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.2474, allocations: 29 kB / 0.7975 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.226e-05/0.2475, allocations: 35.98 kB / 0.7975 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007959/0.2483, allocations: 0.6182 MB / 0.7981 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.2483, allocations: 7.844 kB / 0.7981 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/0.2484, allocations: 12 kB / 0.7981 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-05/0.2484, allocations: 44.62 kB / 0.7982 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006496/0.2491, allocations: 486.1 kB / 0.7986 GB, free: 124 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002995/0.2521, allocations: 3.417 MB / 0.802 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006141/0.2527, allocations: 384.8 kB / 0.8023 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.2529, allocations: 169.6 kB / 0.8025 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.253, allocations: 4.406 kB / 0.8025 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.253, allocations: 34.56 kB / 0.8025 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.353e-06/0.253, allocations: 3.938 kB / 0.8025 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=26): time 0.003986/0.257, allocations: 1.461 MB / 0.804 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.2571, allocations: 89.05 kB / 0.804 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003055/0.2574, allocations: 324.4 kB / 0.8043 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.2574, allocations: 29.7 kB / 0.8044 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.2576, allocations: 259.3 kB / 0.8046 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.372e-05/0.2577, allocations: 98.62 kB / 0.8047 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.2577, allocations: 12 kB / 0.8047 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2578, allocations: 338.8 kB / 0.8051 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.2581, allocations: 177 kB / 0.8052 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/0.2584, allocations: 338.1 kB / 0.8055 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/0.2587, allocations: 227.8 kB / 0.8058 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2587, allocations: 0 / 0.8058 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002054/0.2608, allocations: 0.9019 MB / 0.8066 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001599/0.261, allocations: 245.2 kB / 0.8069 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.261, allocations: 12 kB / 0.8069 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002046/0.263, allocations: 0.5048 MB / 0.8074 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003429/0.2634, allocations: 91.88 kB / 0.8075 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004818/0.2682, allocations: 3.786 MB / 0.8112 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.2686, allocations: 39.81 kB / 0.8112 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/0.2686, allocations: 23.98 kB / 0.8112 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/0.2686, allocations: 4 kB / 0.8112 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00069/0.2693, allocations: 475.3 kB / 0.8117 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.2694, allocations: 8 kB / 0.8117 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.2694, allocations: 12 kB / 0.8117 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/0.2697, allocations: 115.8 kB / 0.8118 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.2698, allocations: 12.59 kB / 0.8118 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.27, allocations: 28.03 kB / 0.8118 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.27, allocations: 27.98 kB / 0.8119 GB, free: 1.688 MB / 0.6231 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.0002631/0.2703, allocations: 268.9 kB / 0.8121 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.677e-05/0.2704, allocations: 39.59 kB / 0.8122 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.2719, allocations: 0.6689 MB / 0.8128 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2719, allocations: 4 kB / 0.8128 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.2719, allocations: 0 / 0.8128 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.2719, allocations: 11.94 kB / 0.8128 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008242/0.2728, allocations: 0.6519 MB / 0.8135 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2728, allocations: 0 / 0.8135 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.273, allocations: 43.91 kB / 0.8135 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001364/0.2743, allocations: 409.3 kB / 0.8139 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.2744, allocations: 7.953 kB / 0.8139 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003677/0.2781, allocations: 3.478 MB / 0.8173 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.2781, allocations: 4.031 kB / 0.8173 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/0.2796, allocations: 0.822 MB / 0.8181 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.2797, allocations: 140.6 kB / 0.8183 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.758e-05/0.2798, allocations: 4 kB / 0.8183 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/0.2801, allocations: 47.89 kB / 0.8183 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.2802, allocations: 19.97 kB / 0.8183 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.2802, allocations: 8 kB / 0.8183 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002497/0.2805, allocations: 227 kB / 0.8185 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2805, allocations: 0 / 0.8185 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009375/0.2814, allocations: 192 kB / 0.8187 GB, free: 10.26 MB / 0.6387 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.000195/0.2816, allocations: 113.8 kB / 0.8188 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001482/0.2831, allocations: 0.9521 MB / 0.8198 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2831, allocations: 0 / 0.8198 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006436/0.2838, allocations: 482.9 kB / 0.8202 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005399/0.2843, allocations: 68.98 kB / 0.8203 GB, free: 8.598 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.2854, allocations: 0.9274 MB / 0.8212 GB, free: 7.633 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.2858, allocations: 0.8468 MB / 0.822 GB, free: 6.762 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003727/0.2862, allocations: 147.2 kB / 0.8222 GB, free: 6.621 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/0.2863, allocations: 31.44 kB / 0.8222 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of SimCode: time 5.41e-07/0.2863, allocations: 0 / 0.8222 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of Templates: time 0.009777/0.2961, allocations: 6.597 MB / 0.8286 GB, free: 32 kB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) Environment - environmentSimulation: