Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.677/1.677, allocations: 288.3 MB / 303.2 MB, free: 8.082 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001437/0.001437, allocations: 190.1 kB / 371.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.926/1.926, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000968/0.0009677, allocations: 96.19 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006756/0.0006757, allocations: 10.91 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2637, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004058/0.2678, allocations: 3.546 MB / 0.9829 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003101/0.271, allocations: 2.063 MB / 0.9849 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003916/0.2714, allocations: 7.938 kB / 0.9849 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.2717, allocations: 63.59 kB / 0.985 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000769/0.2725, allocations: 187.5 kB / 0.9851 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009946/0.2735, allocations: 272.7 kB / 0.9854 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003818/0.2739, allocations: 323.3 kB / 0.9857 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009643/0.2749, allocations: 0.5929 MB / 0.9863 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002591/0.2752, allocations: 159.4 kB / 0.9864 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003769/0.2756, allocations: 187.3 kB / 0.9866 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.384e-05/0.2756, allocations: 16 kB / 0.9866 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003431/0.276, allocations: 139.8 kB / 0.9868 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.2761, allocations: 143.7 kB / 0.9869 GB, free: 20 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.378e-05/0.2762, allocations: 93.52 kB / 0.987 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004557/0.2767, allocations: 490.9 kB / 0.9875 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.2767, allocations: 0 / 0.9875 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2767, allocations: 0 / 0.9875 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.2767, allocations: 3.938 kB / 0.9875 GB, free: 19.41 MB / 0.6198 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.0009171/0.2776, allocations: 0.6355 MB / 0.9881 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.2777, allocations: 8.031 kB / 0.9881 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009089/0.2786, allocations: 151.3 kB / 0.9882 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.279, allocations: 315.2 kB / 0.9885 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.279, allocations: 29 kB / 0.9886 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.188e-05/0.2791, allocations: 36 kB / 0.9886 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007169/0.2798, allocations: 0.6182 MB / 0.9892 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.2798, allocations: 7.938 kB / 0.9892 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/0.2799, allocations: 16 kB / 0.9892 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-05/0.28, allocations: 40.62 kB / 0.9893 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005529/0.2805, allocations: 478.1 kB / 0.9897 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002477/0.283, allocations: 3.432 MB / 0.9931 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005575/0.2836, allocations: 372.9 kB / 0.9934 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.2836, allocations: 4 kB / 0.9934 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.2836, allocations: 42.56 kB / 0.9935 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/0.2836, allocations: 0 / 0.9935 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.004011/0.2877, allocations: 1.462 MB / 0.9949 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.2877, allocations: 81.11 kB / 0.995 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.288, allocations: 324.4 kB / 0.9953 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.288, allocations: 29.7 kB / 0.9953 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.931e-05/0.2881, allocations: 259.3 kB / 0.9956 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.2882, allocations: 98.73 kB / 0.9957 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-05/0.2882, allocations: 15.88 kB / 0.9957 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.903e-05/0.2883, allocations: 342.8 kB / 0.996 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.2885, allocations: 173 kB / 0.9962 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.2888, allocations: 338.1 kB / 0.9965 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.289, allocations: 227.8 kB / 0.9967 GB, free: 9.309 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.289, allocations: 4 kB / 0.9967 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001951/0.291, allocations: 0.9003 MB / 0.9976 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004068/0.2914, allocations: 2.094 MB / 0.9996 GB, free: 6.133 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.2914, allocations: 8 kB / 0.9996 GB, free: 6.125 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002101/0.2935, allocations: 0.5088 MB / 1 GB, free: 5.609 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003566/0.2939, allocations: 91.88 kB / 1 GB, free: 5.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004565/0.2985, allocations: 3.864 MB / 1.004 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004302/0.2989, allocations: 35.91 kB / 1.004 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.299, allocations: 27.98 kB / 1.004 GB, free: 1.324 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.299, allocations: 5.938 kB / 1.004 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005974/0.2996, allocations: 475.8 kB / 1.005 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2996, allocations: 8 kB / 1.005 GB, free: 0.8477 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-06/0.2996, allocations: 8 kB / 1.005 GB, free: 0.8398 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.3, allocations: 107.9 kB / 1.005 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.3, allocations: 15.89 kB / 1.005 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.3003, allocations: 27.89 kB / 1.005 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.3003, allocations: 23.98 kB / 1.005 GB, free: 0.668 MB / 0.6198 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.0002435/0.3006, allocations: 268.9 kB / 1.005 GB, free: 404 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-05/0.3007, allocations: 35.72 kB / 1.005 GB, free: 368 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.3024, allocations: 0.6703 MB / 1.006 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.3024, allocations: 4 kB / 1.006 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3024, allocations: 4 kB / 1.006 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.3024, allocations: 7.938 kB / 1.006 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.3036, allocations: 0.6598 MB / 1.006 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3036, allocations: 0 / 1.006 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.3038, allocations: 39.97 kB / 1.006 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00152/0.3053, allocations: 413.4 kB / 1.007 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.3054, allocations: 8 kB / 1.007 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004544/0.3099, allocations: 3.557 MB / 1.01 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.31, allocations: 3.938 kB / 1.01 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.3118, allocations: 0.8588 MB / 1.011 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000235/0.312, allocations: 144.6 kB / 1.011 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.312e-05/0.3121, allocations: 4 kB / 1.011 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/0.3124, allocations: 35.94 kB / 1.011 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.046e-05/0.3125, allocations: 31.91 kB / 1.011 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.3125, allocations: 11.94 kB / 1.011 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002828/0.3128, allocations: 227 kB / 1.012 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3128, allocations: 0 / 1.012 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009709/0.3138, allocations: 192 kB / 1.012 GB, free: 9.09 MB / 0.6355 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.0001951/0.314, allocations: 105.6 kB / 1.012 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001731/0.3157, allocations: 0.9678 MB / 1.013 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.3158, allocations: 0 / 1.013 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000744/0.3165, allocations: 482.4 kB / 1.013 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.317, allocations: 62.44 kB / 1.013 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.3185, allocations: 0.9177 MB / 1.014 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005968/0.3191, allocations: 0.8548 MB / 1.015 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007663/0.3199, allocations: 135.1 kB / 1.015 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.32, allocations: 31.44 kB / 1.015 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of SimCode: time 1.323e-06/0.32, allocations: 3.938 kB / 1.015 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of Templates: time 0.01286/0.3329, allocations: 6.594 MB / 1.022 GB, free: 14.87 MB / 0.6511 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)