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.001037/0.001038, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001143/0.001143, allocations: 195.5 kB / 16.14 MB, free: 6.664 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.516/1.516, allocations: 205.1 MB / 222 MB, free: 4.992 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.799/1.799, allocations: 292.2 MB / 0.5484 GB, free: 13.62 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.001525/0.001525, allocations: 64.23 kB / 0.6708 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2486, allocations: 114.6 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006139/0.2548, allocations: 4.167 MB / 0.7868 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003729/0.2586, allocations: 2.222 MB / 0.7889 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003011/0.2589, allocations: 7.938 kB / 0.7889 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.2604, allocations: 0.5101 MB / 0.7894 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000734/0.2612, allocations: 254.9 kB / 0.7897 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009041/0.2621, allocations: 319.3 kB / 0.79 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008732/0.263, allocations: 0.8064 MB / 0.7908 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007237/0.2637, allocations: 376.4 kB / 0.7911 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003854/0.2641, allocations: 203.2 kB / 0.7913 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005606/0.2647, allocations: 283.1 kB / 0.7916 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.227e-05/0.2648, allocations: 28 kB / 0.7916 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005814/0.2654, allocations: 299.4 kB / 0.7919 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001987/0.2656, allocations: 175.5 kB / 0.7921 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.2658, allocations: 203 kB / 0.7923 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007802/0.2666, allocations: 0.6463 MB / 0.7929 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2666, allocations: 0 / 0.7929 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.82e-07/0.2666, allocations: 0 / 0.7929 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.615e-05/0.2666, allocations: 0 / 0.7929 GB, free: 3.504 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.001317/0.268, allocations: 0.7176 MB / 0.7936 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.268, allocations: 8.031 kB / 0.7936 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.2691, allocations: 136.2 kB / 0.7937 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.2695, allocations: 320.5 kB / 0.794 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.2696, allocations: 29.38 kB / 0.7941 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.2696, allocations: 32.38 kB / 0.7941 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009207/0.2706, allocations: 0.6341 MB / 0.7947 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.2706, allocations: 7.906 kB / 0.7947 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.602e-05/0.2706, allocations: 12 kB / 0.7947 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.107e-05/0.2707, allocations: 44.62 kB / 0.7948 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007513/0.2715, allocations: 482.1 kB / 0.7952 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003634/0.2751, allocations: 3.409 MB / 0.7986 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007356/0.2759, allocations: 373 kB / 0.7989 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.2761, allocations: 169.6 kB / 0.7991 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.2762, allocations: 4.406 kB / 0.7991 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.2762, allocations: 50.44 kB / 0.7991 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.863e-06/0.2762, allocations: 0 / 0.7991 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of matching and sorting (n=26): time 0.004986/0.2812, allocations: 1.462 MB / 0.8006 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.2813, allocations: 81.11 kB / 0.8006 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004065/0.2817, allocations: 328.4 kB / 0.801 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.2818, allocations: 29.7 kB / 0.801 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.282, allocations: 263.2 kB / 0.8012 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.2821, allocations: 90.66 kB / 0.8013 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.2822, allocations: 94.16 kB / 0.8014 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2824, allocations: 346.8 kB / 0.8017 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.2827, allocations: 183 kB / 0.8019 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005383/0.2832, allocations: 342 kB / 0.8022 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007778/0.284, allocations: 0.5314 MB / 0.8028 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.284, allocations: 3.938 kB / 0.8028 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002526/0.2866, allocations: 0.9094 MB / 0.8036 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.2866, allocations: 8.438 kB / 0.8037 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.2866, allocations: 4 kB / 0.8037 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002417/0.289, allocations: 0.5048 MB / 0.8042 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.2894, allocations: 95.88 kB / 0.8042 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006164/0.2956, allocations: 3.755 MB / 0.8079 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005068/0.2962, allocations: 47.88 kB / 0.808 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.381e-05/0.2962, allocations: 23.98 kB / 0.808 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004651/0.2967, allocations: 305.7 kB / 0.8083 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004086/0.2971, allocations: 323.9 kB / 0.8086 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006266/0.2978, allocations: 0.5106 MB / 0.8091 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.399e-06/0.2978, allocations: 4 kB / 0.8091 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008294/0.2986, allocations: 0.5325 MB / 0.8096 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.2986, allocations: 8 kB / 0.8096 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.2987, allocations: 4.141 kB / 0.8096 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/0.2987, allocations: 8 kB / 0.8096 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/0.2991, allocations: 111.8 kB / 0.8097 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-05/0.2992, allocations: 11.98 kB / 0.8097 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.2995, allocations: 35.83 kB / 0.8098 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.2996, allocations: 27.98 kB / 0.8098 GB, free: 1.004 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 (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.0002049/0.2998, allocations: 216 kB / 0.81 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.921e-05/0.2999, allocations: 31.62 kB / 0.81 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/0.3017, allocations: 0.6688 MB / 0.8107 GB, free: 76 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.3017, allocations: 3.984 kB / 0.8107 GB, free: 72 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3017, allocations: 4 kB / 0.8107 GB, free: 68 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3017, allocations: 4 kB / 0.8107 GB, free: 64 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.3028, allocations: 0.6559 MB / 0.8113 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3028, allocations: 4 kB / 0.8113 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.303, allocations: 39.97 kB / 0.8114 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001688/0.3047, allocations: 401.2 kB / 0.8118 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.3047, allocations: 8 kB / 0.8118 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004437/0.3092, allocations: 3.482 MB / 0.8152 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3092, allocations: 7.969 kB / 0.8152 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.311, allocations: 0.822 MB / 0.816 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.3112, allocations: 136.7 kB / 0.8161 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.765e-05/0.3113, allocations: 8 kB / 0.8161 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/0.3117, allocations: 35.94 kB / 0.8162 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.3118, allocations: 31.91 kB / 0.8162 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.3118, allocations: 8 kB / 0.8162 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002744/0.3121, allocations: 231 kB / 0.8164 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.31e-07/0.3121, allocations: 0 / 0.8164 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009668/0.3131, allocations: 192 kB / 0.8166 GB, free: 9.633 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.0001897/0.3133, allocations: 111.2 kB / 0.8167 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001699/0.315, allocations: 0.9599 MB / 0.8176 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.315, allocations: 3.938 kB / 0.8176 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007722/0.3158, allocations: 474.2 kB / 0.8181 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005958/0.3164, allocations: 71.86 kB / 0.8182 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.3179, allocations: 0.9096 MB / 0.8191 GB, free: 7.023 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.3184, allocations: 0.8507 MB / 0.8199 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004377/0.3188, allocations: 143.3 kB / 0.82 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.533e-05/0.3189, allocations: 31.42 kB / 0.8201 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of SimCode: time 5.21e-07/0.3189, allocations: 0 / 0.8201 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of Templates: time 0.01241/0.3313, allocations: 6.855 MB / 0.8267 GB, free: 15.15 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)