Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 105.5 kB / 16.27 MB, free: 6.418 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.001662/0.001662, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.379/1.379, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.755/1.755, allocations: 292.3 MB / 0.5495 GB, free: 17.52 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.001397/0.001397, allocations: 79.83 kB / 0.6722 GB, free: 6.504 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2242, allocations: 114.6 MB / 0.784 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.3963/0.6205, allocations: 4.13 MB / 0.7881 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003265/0.6238, allocations: 2.212 MB / 0.7902 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.6241, allocations: 10.97 kB / 0.7902 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.6254, allocations: 0.5391 MB / 0.7908 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0006003/0.6261, allocations: 271.3 kB / 0.791 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008469/0.6269, allocations: 346.3 kB / 0.7914 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005047/0.6274, allocations: 0.5586 MB / 0.7919 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004798/0.6279, allocations: 373.3 kB / 0.7923 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.6282, allocations: 223 kB / 0.7925 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003685/0.6286, allocations: 284.5 kB / 0.7927 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.659e-05/0.6286, allocations: 35.28 kB / 0.7928 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004066/0.629, allocations: 255.7 kB / 0.793 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.6292, allocations: 176.5 kB / 0.7932 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.6294, allocations: 218 kB / 0.7934 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005646/0.6299, allocations: 0.6359 MB / 0.794 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.6299, allocations: 0.5 kB / 0.794 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.684e-06/0.63, allocations: 0.5 kB / 0.794 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.63, allocations: 0.75 kB / 0.794 GB, free: 45.58 MB / 0.6544 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.001009/0.631, allocations: 0.7175 MB / 0.7947 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.631, allocations: 11.47 kB / 0.7947 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009542/0.632, allocations: 136.6 kB / 0.7949 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.6324, allocations: 326.6 kB / 0.7952 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.6324, allocations: 24.16 kB / 0.7952 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.395e-05/0.6325, allocations: 34.12 kB / 0.7952 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007258/0.6332, allocations: 0.6297 MB / 0.7958 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.6332, allocations: 3.516 kB / 0.7959 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.475e-05/0.6333, allocations: 23.77 kB / 0.7959 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.367e-05/0.6333, allocations: 42.19 kB / 0.7959 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006118/0.634, allocations: 477.7 kB / 0.7964 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002688/0.6367, allocations: 3.418 MB / 0.7997 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006201/0.6373, allocations: 377.1 kB / 0.8001 GB, free: 42 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.6375, allocations: 169 kB / 0.8002 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.6376, allocations: 5.031 kB / 0.8002 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.6376, allocations: 37.89 kB / 0.8003 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 1.824e-06/0.6376, allocations: 4 kB / 0.8003 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=26): time 0.004639/0.6422, allocations: 1.457 MB / 0.8017 GB, free: 41.37 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.6423, allocations: 85.02 kB / 0.8018 GB, free: 41.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.6427, allocations: 328.8 kB / 0.8021 GB, free: 41.1 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.6427, allocations: 30.58 kB / 0.8021 GB, free: 41.07 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.6428, allocations: 258.8 kB / 0.8024 GB, free: 40.85 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/0.6429, allocations: 87.92 kB / 0.8025 GB, free: 40.78 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.6431, allocations: 94.27 kB / 0.8025 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.804e-05/0.6432, allocations: 339.2 kB / 0.8029 GB, free: 40.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.6435, allocations: 193.2 kB / 0.803 GB, free: 40.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.6438, allocations: 334.5 kB / 0.8034 GB, free: 40.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006409/0.6444, allocations: 0.5372 MB / 0.8039 GB, free: 39.72 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.6445, allocations: 2.688 kB / 0.8039 GB, free: 39.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002503/0.647, allocations: 0.9051 MB / 0.8048 GB, free: 39.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.647, allocations: 10.66 kB / 0.8048 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.647, allocations: 6.375 kB / 0.8048 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002475/0.6495, allocations: 0.5049 MB / 0.8053 GB, free: 39.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000427/0.6499, allocations: 95.12 kB / 0.8054 GB, free: 39.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005694/0.6556, allocations: 4.057 MB / 0.8093 GB, free: 36.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/0.6562, allocations: 46.94 kB / 0.8094 GB, free: 36.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.925e-05/0.6562, allocations: 25.41 kB / 0.8094 GB, free: 36.29 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004398/0.6567, allocations: 297.7 kB / 0.8097 GB, free: 36.13 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003608/0.657, allocations: 327.7 kB / 0.81 GB, free: 35.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006411/0.6577, allocations: 0.5032 MB / 0.8105 GB, free: 35.49 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.829e-06/0.6577, allocations: 2.531 kB / 0.8105 GB, free: 35.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.001091/0.6588, allocations: 0.5294 MB / 0.811 GB, free: 35.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.6588, allocations: 7.688 kB / 0.811 GB, free: 35.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.6588, allocations: 5.875 kB / 0.811 GB, free: 35.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.6589, allocations: 12.06 kB / 0.811 GB, free: 35.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004645/0.6593, allocations: 111.6 kB / 0.8111 GB, free: 35.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.6594, allocations: 9.359 kB / 0.8112 GB, free: 35.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.6597, allocations: 33.31 kB / 0.8112 GB, free: 35.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.6597, allocations: 21.94 kB / 0.8112 GB, free: 35.23 MB / 0.6544 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.0001989/0.6599, allocations: 209.4 kB / 0.8114 GB, free: 35.03 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.6601, allocations: 36.28 kB / 0.8114 GB, free: 35.01 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/0.662, allocations: 0.6765 MB / 0.8121 GB, free: 34.78 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.6621, allocations: 3.375 kB / 0.8121 GB, free: 34.78 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.6621, allocations: 1.719 kB / 0.8121 GB, free: 34.78 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.6621, allocations: 2.297 kB / 0.8121 GB, free: 34.78 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.6631, allocations: 0.6536 MB / 0.8128 GB, free: 34.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.6631, allocations: 1.969 kB / 0.8128 GB, free: 34.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.6634, allocations: 56.39 kB / 0.8128 GB, free: 34.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001622/0.665, allocations: 398.3 kB / 0.8132 GB, free: 34.27 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.665, allocations: 6.312 kB / 0.8132 GB, free: 34.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003758/0.6688, allocations: 3.762 MB / 0.8169 GB, free: 31.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6688, allocations: 1.031 kB / 0.8169 GB, free: 31.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.6705, allocations: 0.8287 MB / 0.8177 GB, free: 30.77 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.6707, allocations: 142.1 kB / 0.8178 GB, free: 30.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.95e-05/0.6708, allocations: 11.62 kB / 0.8178 GB, free: 30.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.6711, allocations: 35.8 kB / 0.8179 GB, free: 30.64 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.645e-05/0.6712, allocations: 30.7 kB / 0.8179 GB, free: 30.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.6713, allocations: 6.922 kB / 0.8179 GB, free: 30.63 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002541/0.6715, allocations: 228.9 kB / 0.8181 GB, free: 30.51 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6715, allocations: 1.312 kB / 0.8181 GB, free: 30.51 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001027/0.6726, allocations: 191.9 kB / 0.8183 GB, free: 30.49 MB / 0.6544 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.0001559/0.6727, allocations: 105.3 kB / 0.8184 GB, free: 30.39 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001741/0.6745, allocations: 1 MB / 0.8194 GB, free: 29.91 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.6745, allocations: 1.656 kB / 0.8194 GB, free: 29.91 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007113/0.6752, allocations: 486.4 kB / 0.8198 GB, free: 29.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006024/0.6758, allocations: 73.97 kB / 0.8199 GB, free: 29.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.6771, allocations: 0.7933 MB / 0.8207 GB, free: 29.13 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.6775, allocations: 0.8502 MB / 0.8215 GB, free: 28.41 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.6776, allocations: 34.41 kB / 0.8215 GB, free: 28.4 MB / 0.6544 GB Notification: Performance of SimCode: time 7.21e-07/0.6776, allocations: 5.156 kB / 0.8216 GB, free: 28.39 MB / 0.6544 GB Notification: Performance of Templates: time 0.01566/0.6933, allocations: 8.317 MB / 0.8297 GB, free: 27.89 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)