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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.008/2.008, allocations: 292.3 MB / 308.1 MB, free: 4.273 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.001932/0.001932, allocations: 190.4 kB / 376.9 MB, free: 1.805 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.884/1.884, allocations: 205 MB / 0.6354 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 101.5 kB / 0.748 GB, free: 60.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 51.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.28, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.007222/0.2872, allocations: 4.182 MB / 0.9863 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005763/0.2931, allocations: 2.225 MB / 0.9885 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006503/0.2938, allocations: 15.88 kB / 0.9885 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00215/0.296, allocations: 0.5023 MB / 0.989 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.2973, allocations: 254.9 kB / 0.9892 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.2985, allocations: 311.4 kB / 0.9895 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001237/0.2997, allocations: 0.8181 MB / 0.9903 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009148/0.3007, allocations: 372.4 kB / 0.9907 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000548/0.3012, allocations: 199.2 kB / 0.9909 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006649/0.3019, allocations: 287.1 kB / 0.9911 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.302, allocations: 28 kB / 0.9912 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007254/0.3027, allocations: 307.4 kB / 0.9915 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002414/0.303, allocations: 163.6 kB / 0.9916 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003217/0.3033, allocations: 210.9 kB / 0.9918 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.3044, allocations: 0.6347 MB / 0.9924 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.3044, allocations: 0 / 0.9924 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3044, allocations: 0 / 0.9924 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.202e-05/0.3044, allocations: 0 / 0.9924 GB, free: 15.86 MB / 0.7292 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.001662/0.3061, allocations: 0.7175 MB / 0.9931 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.3062, allocations: 8.031 kB / 0.9932 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.3072, allocations: 140.2 kB / 0.9933 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005676/0.3078, allocations: 316.5 kB / 0.9936 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.3079, allocations: 29.36 kB / 0.9936 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.692e-05/0.3079, allocations: 48.25 kB / 0.9937 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.309, allocations: 0.6224 MB / 0.9943 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.309, allocations: 4 kB / 0.9943 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/0.3091, allocations: 20 kB / 0.9943 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-05/0.3092, allocations: 40.62 kB / 0.9943 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007545/0.3099, allocations: 478.1 kB / 0.9948 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003793/0.3137, allocations: 3.424 MB / 0.9981 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006979/0.3144, allocations: 372 kB / 0.9985 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002724/0.3147, allocations: 177.6 kB / 0.9987 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.272e-05/0.3148, allocations: 4 kB / 0.9987 GB, free: 9.043 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.3148, allocations: 38.5 kB / 0.9987 GB, free: 8.996 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 3.477e-06/0.3148, allocations: 4 kB / 0.9987 GB, free: 8.992 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26): time 0.005201/0.32, allocations: 1.451 MB / 1 GB, free: 7.492 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.3202, allocations: 81.11 kB / 1 GB, free: 7.395 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005046/0.3208, allocations: 328.4 kB / 1.001 GB, free: 7.062 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.3208, allocations: 33.7 kB / 1.001 GB, free: 7.023 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.321, allocations: 255.2 kB / 1.001 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.3212, allocations: 106.6 kB / 1.001 GB, free: 6.66 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.3213, allocations: 90.14 kB / 1.001 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3215, allocations: 338.8 kB / 1.001 GB, free: 6.227 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/0.3218, allocations: 187 kB / 1.001 GB, free: 6.039 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004287/0.3223, allocations: 346 kB / 1.002 GB, free: 5.633 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007962/0.3231, allocations: 0.5353 MB / 1.002 GB, free: 5.023 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.3231, allocations: 4 kB / 1.002 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002612/0.3257, allocations: 0.9042 MB / 1.003 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.3258, allocations: 10.48 kB / 1.003 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.3258, allocations: 8 kB / 1.003 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002428/0.3282, allocations: 0.5091 MB / 1.004 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.3287, allocations: 95.81 kB / 1.004 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005679/0.3344, allocations: 3.769 MB / 1.007 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004442/0.3348, allocations: 39.81 kB / 1.008 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.87e-05/0.3349, allocations: 28 kB / 1.008 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004436/0.3354, allocations: 305.1 kB / 1.008 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003561/0.3357, allocations: 323.8 kB / 1.008 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006264/0.3364, allocations: 0.5134 MB / 1.009 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.532e-06/0.3364, allocations: 4 kB / 1.009 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.000842/0.3372, allocations: 0.5246 MB / 1.009 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3372, allocations: 12.12 kB / 1.009 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.3373, allocations: 8 kB / 1.009 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.3373, allocations: 8 kB / 1.009 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/0.3377, allocations: 111.8 kB / 1.009 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.3377, allocations: 8 kB / 1.009 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/0.3381, allocations: 35.81 kB / 1.009 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/0.3381, allocations: 20 kB / 1.009 GB, free: 13.34 MB / 0.7448 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.0002016/0.3383, allocations: 212.7 kB / 1.01 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.3384, allocations: 35.62 kB / 1.01 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.3401, allocations: 0.6656 MB / 1.01 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.3402, allocations: 4 kB / 1.01 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3402, allocations: 4 kB / 1.01 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3402, allocations: 0 / 1.01 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.3413, allocations: 0.6637 MB / 1.011 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3413, allocations: 0 / 1.011 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.3415, allocations: 51.89 kB / 1.011 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001534/0.343, allocations: 397.3 kB / 1.011 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.3431, allocations: 8 kB / 1.011 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004162/0.3472, allocations: 3.478 MB / 1.015 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3473, allocations: 3.938 kB / 1.015 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002413/0.3497, allocations: 1.62 MB / 1.016 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.3499, allocations: 132.7 kB / 1.016 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.249e-05/0.35, allocations: 7.984 kB / 1.016 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003768/0.3504, allocations: 35.94 kB / 1.017 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.188e-05/0.3505, allocations: 31.91 kB / 1.017 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.13e-05/0.3505, allocations: 16 kB / 1.017 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002687/0.3508, allocations: 223.1 kB / 1.017 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.71e-07/0.3508, allocations: 0 / 1.017 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001123/0.3519, allocations: 192 kB / 1.017 GB, free: 5.141 MB / 0.7448 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.0002246/0.3522, allocations: 115.1 kB / 1.017 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0019/0.3541, allocations: 0.9636 MB / 1.018 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3541, allocations: 0 / 1.018 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007684/0.3549, allocations: 474.6 kB / 1.018 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006274/0.3555, allocations: 77.03 kB / 1.019 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.3573, allocations: 1.116 MB / 1.02 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006182/0.358, allocations: 0.8548 MB / 1.02 GB, free: 1.418 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004737/0.3585, allocations: 135.1 kB / 1.021 GB, free: 1.289 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.344e-05/0.3585, allocations: 31.42 kB / 1.021 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of SimCode: time 1.012e-06/0.3585, allocations: 0 / 1.021 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of Templates: time 0.4306/0.7892, allocations: 7.08 MB / 1.028 GB, free: 96.84 MB / 0.7448 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)