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.001049/0.001049, allocations: 105.6 kB / 15.98 MB, free: 6.34 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.001183/0.001183, allocations: 196.5 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.1 MB / 222.8 MB, free: 4.684 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.707/1.707, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001634/0.001634, allocations: 71.16 kB / 0.6717 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2364, allocations: 114.6 MB / 0.7835 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.006852/0.2433, allocations: 4.647 MB / 0.7881 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003683/0.247, allocations: 2.202 MB / 0.7902 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003035/0.2473, allocations: 11.94 kB / 0.7902 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.2489, allocations: 0.5172 MB / 0.7907 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007505/0.2496, allocations: 247 kB / 0.791 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009299/0.2506, allocations: 319.4 kB / 0.7913 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007461/0.2513, allocations: 0.5568 MB / 0.7918 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007072/0.2521, allocations: 424 kB / 0.7922 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003902/0.2525, allocations: 231.2 kB / 0.7924 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004971/0.253, allocations: 295 kB / 0.7927 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.568e-05/0.2531, allocations: 40 kB / 0.7928 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004772/0.2535, allocations: 255.6 kB / 0.793 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.2537, allocations: 179.5 kB / 0.7932 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.254, allocations: 218.9 kB / 0.7934 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006115/0.2546, allocations: 0.4988 MB / 0.7939 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2546, allocations: 0 / 0.7939 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2546, allocations: 0 / 0.7939 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.824e-05/0.2547, allocations: 0 / 0.7939 GB, free: 3.234 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.001396/0.2561, allocations: 0.7098 MB / 0.7946 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.2561, allocations: 12.03 kB / 0.7946 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.2571, allocations: 144.2 kB / 0.7947 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/0.2576, allocations: 312.5 kB / 0.795 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.2576, allocations: 29.36 kB / 0.795 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.676e-05/0.2577, allocations: 40.28 kB / 0.7951 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009095/0.2586, allocations: 0.6263 MB / 0.7957 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.2587, allocations: 4 kB / 0.7957 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.468e-05/0.2587, allocations: 19.98 kB / 0.7957 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.611e-05/0.2588, allocations: 44.62 kB / 0.7958 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007122/0.2595, allocations: 482.1 kB / 0.7962 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003445/0.263, allocations: 3.416 MB / 0.7996 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006964/0.2637, allocations: 367.8 kB / 0.7999 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.264, allocations: 173.6 kB / 0.8001 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.215e-05/0.264, allocations: 8.375 kB / 0.8001 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.264, allocations: 46.5 kB / 0.8001 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.663e-06/0.2641, allocations: 3.938 kB / 0.8001 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of matching and sorting (n=26): time 0.004696/0.2688, allocations: 1.451 MB / 0.8015 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.2688, allocations: 77.11 kB / 0.8016 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.2692, allocations: 332.3 kB / 0.8019 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.2692, allocations: 29.7 kB / 0.802 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.2694, allocations: 263.2 kB / 0.8022 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.223e-05/0.2695, allocations: 94.64 kB / 0.8023 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.2696, allocations: 94.14 kB / 0.8024 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2698, allocations: 342.8 kB / 0.8027 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.2701, allocations: 183 kB / 0.8029 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/0.2704, allocations: 346 kB / 0.8032 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006338/0.2711, allocations: 0.5319 MB / 0.8037 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2711, allocations: 0 / 0.8037 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002362/0.2735, allocations: 0.9128 MB / 0.8046 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.2735, allocations: 4 kB / 0.8046 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.2735, allocations: 12.42 kB / 0.8047 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002377/0.2759, allocations: 0.5048 MB / 0.8051 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003824/0.2763, allocations: 91.88 kB / 0.8052 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005623/0.2819, allocations: 4.056 MB / 0.8092 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000417/0.2824, allocations: 39.83 kB / 0.8092 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.682e-05/0.2824, allocations: 20 kB / 0.8092 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004067/0.2828, allocations: 305.1 kB / 0.8095 GB, free: 2.148 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003315/0.2832, allocations: 327.8 kB / 0.8099 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005935/0.2838, allocations: 0.4989 MB / 0.8103 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.025e-06/0.2838, allocations: 0 / 0.8103 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0007863/0.2846, allocations: 0.5358 MB / 0.8109 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.2846, allocations: 8 kB / 0.8109 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2846, allocations: 4 kB / 0.8109 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.2846, allocations: 15.94 kB / 0.8109 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/0.285, allocations: 108.4 kB / 0.811 GB, free: 0.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.285, allocations: 8 kB / 0.811 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.2854, allocations: 43.81 kB / 0.811 GB, free: 460 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.2854, allocations: 20 kB / 0.8111 GB, free: 440 kB / 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 (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.0001603/0.2856, allocations: 210.9 kB / 0.8113 GB, free: 224 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.792e-05/0.2857, allocations: 31.62 kB / 0.8113 GB, free: 192 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/0.2874, allocations: 0.6772 MB / 0.812 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.2874, allocations: 4 kB / 0.812 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.2874, allocations: 0 / 0.812 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.2874, allocations: 0 / 0.812 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009065/0.2883, allocations: 0.6598 MB / 0.8126 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2883, allocations: 4.031 kB / 0.8126 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.2885, allocations: 47.91 kB / 0.8127 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001523/0.29, allocations: 401.3 kB / 0.813 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.2901, allocations: 15.98 kB / 0.8131 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004639/0.2947, allocations: 3.761 MB / 0.8167 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2948, allocations: 0 / 0.8167 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.2965, allocations: 0.8259 MB / 0.8175 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.2967, allocations: 140.7 kB / 0.8177 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.955e-05/0.2967, allocations: 0 / 0.8177 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.2971, allocations: 39.94 kB / 0.8177 GB, free: 9.207 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.046e-05/0.2972, allocations: 27.91 kB / 0.8177 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.2972, allocations: 12 kB / 0.8177 GB, free: 9.168 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002358/0.2975, allocations: 227 kB / 0.818 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2975, allocations: 0 / 0.818 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008747/0.2984, allocations: 192 kB / 0.8181 GB, free: 8.762 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 (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.0001803/0.2985, allocations: 107.2 kB / 0.8182 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001694/0.3002, allocations: 0.9987 MB / 0.8192 GB, free: 7.621 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3003, allocations: 0 / 0.8192 GB, free: 7.621 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000711/0.301, allocations: 486 kB / 0.8197 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000579/0.3016, allocations: 83.56 kB / 0.8198 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.303, allocations: 0.9681 MB / 0.8207 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.3034, allocations: 0.8431 MB / 0.8215 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.904e-05/0.3035, allocations: 39.44 kB / 0.8216 GB, free: 5.133 MB / 0.6387 GB Notification: Performance of SimCode: time 2.9e-07/0.3035, allocations: 3.938 kB / 0.8216 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of Templates: time 0.01112/0.3146, allocations: 8.31 MB / 0.8297 GB, free: 12.83 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (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)