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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 293 MB / 309 MB, free: 4.832 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.001064/0.001064, allocations: 184.3 kB / 378.7 MB, free: 1.023 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.778/1.778, allocations: 205.4 MB / 0.6383 GB, free: 8.234 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.0007493/0.0007492, allocations: 93.12 kB / 0.7527 GB, free: 62.92 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004387/0.0004388, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2846, allocations: 116.4 MB / 0.9904 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6889/0.9736, allocations: 170.4 MB / 1.157 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/0.974, allocations: 102.3 kB / 1.157 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0574/1.031, allocations: 23.6 MB / 1.18 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.334e-06/1.031, allocations: 0 / 1.18 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.926e-05/1.031, allocations: 15.98 kB / 1.18 GB, free: 3.332 MB / 0.7448 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.001458/1.033, allocations: 0.6642 MB / 1.181 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/1.033, allocations: 8.031 kB / 1.181 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/1.034, allocations: 136.3 kB / 1.181 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000578/1.035, allocations: 344.3 kB / 1.181 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/1.035, allocations: 25.36 kB / 1.181 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/1.035, allocations: 40.38 kB / 1.181 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009946/1.036, allocations: 0.6039 MB / 1.182 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/1.036, allocations: 12.11 kB / 1.182 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-05/1.036, allocations: 19.94 kB / 1.182 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.108e-05/1.036, allocations: 32.64 kB / 1.182 GB, free: 1.312 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008066/1.037, allocations: 472 kB / 1.182 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003834/1.041, allocations: 3.435 MB / 1.186 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006861/1.041, allocations: 368.9 kB / 1.186 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/1.042, allocations: 174.8 kB / 1.186 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/1.042, allocations: 8 kB / 1.186 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/1.042, allocations: 38.5 kB / 1.186 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=25): time 2.535e-06/1.042, allocations: 3.938 kB / 1.186 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of matching and sorting (n=26): time 0.004536/1.046, allocations: 1.467 MB / 1.188 GB, free: 11 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/1.046, allocations: 81.09 kB / 1.188 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/1.047, allocations: 328.4 kB / 1.188 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/1.047, allocations: 29.7 kB / 1.188 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/1.047, allocations: 263.3 kB / 1.188 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.458e-05/1.047, allocations: 90.73 kB / 1.188 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/1.047, allocations: 12 kB / 1.188 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.047, allocations: 338.8 kB / 1.189 GB, free: 9.836 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/1.048, allocations: 173 kB / 1.189 GB, free: 9.668 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003711/1.048, allocations: 345.9 kB / 1.189 GB, free: 9.258 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006959/1.049, allocations: 0.5293 MB / 1.19 GB, free: 8.656 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.049, allocations: 0 / 1.19 GB, free: 8.656 MB / 0.7605 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002233/1.051, allocations: 0.9123 MB / 1.191 GB, free: 7.73 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001872/1.051, allocations: 252.7 kB / 1.191 GB, free: 7.406 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/1.051, allocations: 8 kB / 1.191 GB, free: 7.398 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002147/1.053, allocations: 0.501 MB / 1.191 GB, free: 6.891 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/1.054, allocations: 95.81 kB / 1.191 GB, free: 6.797 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005491/1.059, allocations: 3.779 MB / 1.195 GB, free: 2.754 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004374/1.06, allocations: 39.81 kB / 1.195 GB, free: 2.715 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.078e-05/1.06, allocations: 20 kB / 1.195 GB, free: 2.695 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/1.06, allocations: 4 kB / 1.195 GB, free: 2.691 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007733/1.061, allocations: 479.4 kB / 1.196 GB, free: 2.223 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/1.061, allocations: 4 kB / 1.196 GB, free: 2.219 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.123e-06/1.061, allocations: 8 kB / 1.196 GB, free: 2.211 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/1.061, allocations: 107.9 kB / 1.196 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/1.061, allocations: 12.88 kB / 1.196 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003064/1.061, allocations: 39.75 kB / 1.196 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/1.061, allocations: 20.5 kB / 1.196 GB, free: 2.035 MB / 0.7605 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.0003456/1.062, allocations: 280.8 kB / 1.196 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/1.062, allocations: 31.62 kB / 1.196 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/1.063, allocations: 0.6715 MB / 1.197 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/1.063, allocations: 4 kB / 1.197 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/1.063, allocations: 0 / 1.197 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.064, allocations: 0 / 1.197 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/1.065, allocations: 0.6558 MB / 1.197 GB, free: 320 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.065, allocations: 0 / 1.197 GB, free: 320 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/1.065, allocations: 43.97 kB / 1.197 GB, free: 276 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001477/1.066, allocations: 417.3 kB / 1.198 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/1.066, allocations: 7.984 kB / 1.198 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003787/1.07, allocations: 3.472 MB / 1.201 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.07, allocations: 6.219 kB / 1.201 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/1.072, allocations: 0.8227 MB / 1.202 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/1.072, allocations: 148.6 kB / 1.202 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.271e-05/1.072, allocations: 4 kB / 1.202 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/1.073, allocations: 39.94 kB / 1.202 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/1.073, allocations: 23.97 kB / 1.202 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/1.073, allocations: 8 kB / 1.202 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002868/1.073, allocations: 227 kB / 1.203 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.4e-07/1.073, allocations: 0 / 1.203 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0009787/1.074, allocations: 204.1 kB / 1.203 GB, free: 10.6 MB / 0.7761 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.0002005/1.074, allocations: 127.1 kB / 1.203 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00173/1.076, allocations: 0.9566 MB / 1.204 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/1.076, allocations: 0 / 1.204 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007555/1.077, allocations: 486.4 kB / 1.204 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006092/1.077, allocations: 62.09 kB / 1.204 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/1.079, allocations: 0.9279 MB / 1.205 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/1.079, allocations: 0.8431 MB / 1.206 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004323/1.08, allocations: 138 kB / 1.206 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.434e-05/1.08, allocations: 35.42 kB / 1.206 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of SimCode: time 3.41e-07/1.08, allocations: 0 / 1.206 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of Templates: time 0.01232/1.092, allocations: 6.657 MB / 1.213 GB, free: 356 kB / 0.7761 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)