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.0007737/0.0007737, 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.0009169/0.0009171, 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.466/1.466, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.734/1.734, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005847/0.0005848, allocations: 15.91 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3019, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005816/0.3078, allocations: 3.631 MB / 0.7908 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004071/0.3119, allocations: 2.075 MB / 0.7929 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003702/0.3123, allocations: 11.94 kB / 0.7929 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.3126, allocations: 63.48 kB / 0.7929 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009057/0.3136, allocations: 207 kB / 0.7931 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.3146, allocations: 276.4 kB / 0.7934 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001093/0.3157, allocations: 0.6464 MB / 0.794 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.3171, allocations: 0.6008 MB / 0.7946 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003824/0.3175, allocations: 187.3 kB / 0.7948 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004933/0.318, allocations: 251.2 kB / 0.795 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.219e-05/0.318, allocations: 24 kB / 0.7951 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003991/0.3184, allocations: 147.7 kB / 0.7952 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.3186, allocations: 155.6 kB / 0.7954 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.644e-05/0.3187, allocations: 101.5 kB / 0.7954 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005134/0.3193, allocations: 483 kB / 0.7959 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3193, allocations: 0 / 0.7959 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.225e-06/0.3193, allocations: 4 kB / 0.7959 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.3193, allocations: 0 / 0.7959 GB, free: 3.07 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.001018/0.3203, allocations: 0.6394 MB / 0.7965 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3204, allocations: 11.97 kB / 0.7965 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009974/0.3214, allocations: 135.3 kB / 0.7967 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004815/0.3219, allocations: 319.2 kB / 0.797 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.3219, allocations: 25 kB / 0.797 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.877e-05/0.322, allocations: 39.92 kB / 0.797 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009803/0.323, allocations: 0.6182 MB / 0.7976 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.323, allocations: 7.938 kB / 0.7977 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.037e-05/0.323, allocations: 19.98 kB / 0.7977 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.532e-05/0.3231, allocations: 44.62 kB / 0.7977 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000713/0.3239, allocations: 474.1 kB / 0.7982 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003875/0.3277, allocations: 3.421 MB / 0.8015 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007078/0.3285, allocations: 380.9 kB / 0.8019 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/0.3288, allocations: 169.6 kB / 0.802 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.3288, allocations: 416 / 0.802 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/0.3289, allocations: 46.5 kB / 0.8021 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.513e-06/0.3289, allocations: 0 / 0.8021 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of matching and sorting (n=26): time 0.004347/0.3332, allocations: 1.463 MB / 0.8035 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.3333, allocations: 77.11 kB / 0.8036 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.3337, allocations: 328.4 kB / 0.8039 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.3337, allocations: 25.7 kB / 0.8039 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.3339, allocations: 263.3 kB / 0.8042 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.096e-05/0.334, allocations: 86.75 kB / 0.8043 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.3341, allocations: 12 kB / 0.8043 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3342, allocations: 342.8 kB / 0.8046 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.3345, allocations: 177 kB / 0.8048 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003964/0.3349, allocations: 336.7 kB / 0.8051 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.3353, allocations: 235.8 kB / 0.8053 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3353, allocations: 4 kB / 0.8053 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002285/0.3376, allocations: 0.8972 MB / 0.8062 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002815/0.3379, allocations: 257.6 kB / 0.8064 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.3379, allocations: 4 kB / 0.8064 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002019/0.3399, allocations: 0.501 MB / 0.8069 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.3403, allocations: 95.81 kB / 0.807 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005606/0.3459, allocations: 3.793 MB / 0.8107 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004148/0.3464, allocations: 39.91 kB / 0.8108 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/0.3464, allocations: 23.98 kB / 0.8108 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3465, allocations: 4 kB / 0.8108 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007664/0.3472, allocations: 479.9 kB / 0.8112 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.3473, allocations: 4 kB / 0.8112 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.3473, allocations: 12.03 kB / 0.8113 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.3477, allocations: 107.8 kB / 0.8114 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.3477, allocations: 15.92 kB / 0.8114 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/0.348, allocations: 31.89 kB / 0.8114 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.348, allocations: 20 kB / 0.8114 GB, free: 2.18 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.0003312/0.3484, allocations: 276.8 kB / 0.8117 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.3485, allocations: 31.62 kB / 0.8117 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.3501, allocations: 0.6773 MB / 0.8124 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.3501, allocations: 4 kB / 0.8124 GB, free: 1.168 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.3502, allocations: 0 / 0.8124 GB, free: 1.168 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.3502, allocations: 3.953 kB / 0.8124 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009605/0.3511, allocations: 0.6598 MB / 0.813 GB, free: 452 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3511, allocations: 0 / 0.813 GB, free: 452 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.3513, allocations: 43.95 kB / 0.8131 GB, free: 408 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001501/0.3529, allocations: 405.3 kB / 0.8135 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.3529, allocations: 11.95 kB / 0.8135 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004078/0.357, allocations: 3.47 MB / 0.8169 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.357, allocations: 4 kB / 0.8169 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.3587, allocations: 0.822 MB / 0.8177 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/0.3589, allocations: 144.6 kB / 0.8178 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.854e-05/0.359, allocations: 8 kB / 0.8178 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/0.3593, allocations: 40.08 kB / 0.8179 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/0.3594, allocations: 27.91 kB / 0.8179 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.3594, allocations: 7.984 kB / 0.8179 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002872/0.3597, allocations: 231 kB / 0.8181 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3597, allocations: 3.938 kB / 0.8181 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009871/0.3607, allocations: 196 kB / 0.8183 GB, free: 10.73 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.0002053/0.361, allocations: 107.2 kB / 0.8184 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001836/0.3628, allocations: 0.957 MB / 0.8193 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.3628, allocations: 0.5625 kB / 0.8193 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006989/0.3635, allocations: 477.2 kB / 0.8198 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000585/0.3641, allocations: 65.23 kB / 0.8199 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.3658, allocations: 0.9222 MB / 0.8208 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007295/0.3665, allocations: 0.8468 MB / 0.8216 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004667/0.367, allocations: 139.1 kB / 0.8217 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.259e-05/0.3671, allocations: 27.44 kB / 0.8217 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of SimCode: time 4.81e-07/0.3671, allocations: 0 / 0.8217 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of Templates: time 0.01277/0.3799, allocations: 6.603 MB / 0.8282 GB, free: 0.5156 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: