Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.603/1.603, allocations: 297.8 MB / 313.7 MB, free: 144 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 184.4 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.2 MB / 0.6626 GB, free: 4.258 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007313/0.0007314, allocations: 98.41 kB / 0.7808 GB, free: 50.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004005, allocations: 12 kB / 0.9088 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5917/0.5921, allocations: 120.3 MB / 1.026 GB, free: 55.88 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2087/0.8009, allocations: 172.9 MB / 1.195 GB, free: 4.934 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/0.8013, allocations: 104.5 kB / 1.195 GB, free: 4.836 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.05917/0.8604, allocations: 25.77 MB / 1.22 GB, free: 11.21 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8605, allocations: 0 / 1.22 GB, free: 11.21 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.624e-05/0.8605, allocations: 15.98 kB / 1.22 GB, free: 11.19 MB / 0.7917 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.001031/0.8616, allocations: 0.6641 MB / 1.221 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.8616, allocations: 8.031 kB / 1.221 GB, free: 10.46 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009926/0.8626, allocations: 144.2 kB / 1.221 GB, free: 10.32 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.863, allocations: 340.4 kB / 1.222 GB, free: 9.949 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.417e-05/0.8631, allocations: 33.36 kB / 1.222 GB, free: 9.918 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.885e-05/0.8631, allocations: 40.36 kB / 1.222 GB, free: 9.879 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008178/0.864, allocations: 0.607 MB / 1.222 GB, free: 9.215 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.864, allocations: 1.219 kB / 1.222 GB, free: 9.215 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.43e-05/0.864, allocations: 23.88 kB / 1.222 GB, free: 9.191 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.3e-05/0.8641, allocations: 28.64 kB / 1.222 GB, free: 9.164 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006631/0.8648, allocations: 474.1 kB / 1.223 GB, free: 8.699 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003074/0.8678, allocations: 3.436 MB / 1.226 GB, free: 4.977 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006331/0.8685, allocations: 374.6 kB / 1.226 GB, free: 4.594 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.8687, allocations: 174.6 kB / 1.227 GB, free: 4.418 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.8688, allocations: 0 / 1.227 GB, free: 4.418 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.8688, allocations: 38.56 kB / 1.227 GB, free: 4.371 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=25): time 1.363e-06/0.8688, allocations: 0 / 1.227 GB, free: 4.371 MB / 0.7917 GB Notification: Performance of matching and sorting (n=26): time 0.004265/0.8731, allocations: 1.463 MB / 1.228 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.8731, allocations: 93.8 kB / 1.228 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.8735, allocations: 320.4 kB / 1.228 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.8735, allocations: 29.7 kB / 1.228 GB, free: 2.395 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.8737, allocations: 263.3 kB / 1.229 GB, free: 2.133 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 6.954e-05/0.8737, allocations: 90.73 kB / 1.229 GB, free: 2.043 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.8738, allocations: 12 kB / 1.229 GB, free: 2.031 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.8739, allocations: 342.8 kB / 1.229 GB, free: 1.688 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/0.8741, allocations: 169 kB / 1.229 GB, free: 1.523 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003281/0.8745, allocations: 343.7 kB / 1.23 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006118/0.8751, allocations: 0.5404 MB / 1.23 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8751, allocations: 0 / 1.23 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002103/0.8772, allocations: 0.9042 MB / 1.231 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.8773, allocations: 245.1 kB / 1.231 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.8774, allocations: 8 kB / 1.231 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002085/0.8794, allocations: 0.5009 MB / 1.232 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.8798, allocations: 95.88 kB / 1.232 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004941/0.8848, allocations: 3.775 MB / 1.236 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003734/0.8851, allocations: 44.23 kB / 1.236 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.8852, allocations: 24 kB / 1.236 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/0.8852, allocations: 7.312 kB / 1.236 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006632/0.8859, allocations: 480.3 kB / 1.236 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.8859, allocations: 8 kB / 1.236 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.8859, allocations: 12.03 kB / 1.236 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/0.8863, allocations: 113.5 kB / 1.236 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.8863, allocations: 11.94 kB / 1.236 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.8865, allocations: 31.88 kB / 1.236 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.8866, allocations: 20 kB / 1.236 GB, free: 9.898 MB / 0.8073 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.0002681/0.8869, allocations: 275.5 kB / 1.237 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.582e-05/0.8869, allocations: 31.62 kB / 1.237 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.8885, allocations: 0.6729 MB / 1.237 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.8885, allocations: 5.125 kB / 1.237 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.8885, allocations: 0 / 1.237 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.8886, allocations: 7.984 kB / 1.237 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008873/0.8894, allocations: 0.652 MB / 1.238 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.8895, allocations: 0.5 kB / 1.238 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.8897, allocations: 43.91 kB / 1.238 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/0.8911, allocations: 409.3 kB / 1.238 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.8911, allocations: 0.6875 kB / 1.238 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003839/0.895, allocations: 3.484 MB / 1.242 GB, free: 3.977 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.895, allocations: 4.031 kB / 1.242 GB, free: 3.973 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.8967, allocations: 0.8264 MB / 1.242 GB, free: 3.117 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/0.8969, allocations: 144.8 kB / 1.243 GB, free: 2.957 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.8969, allocations: 4.75 kB / 1.243 GB, free: 2.953 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003378/0.8973, allocations: 42.56 kB / 1.243 GB, free: 2.914 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/0.8973, allocations: 23.95 kB / 1.243 GB, free: 2.891 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.8974, allocations: 12 kB / 1.243 GB, free: 2.879 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002521/0.8976, allocations: 223 kB / 1.243 GB, free: 2.664 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2e-07/0.8976, allocations: 0 / 1.243 GB, free: 2.664 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009069/0.8985, allocations: 216.1 kB / 1.243 GB, free: 2.453 MB / 0.8073 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/0.8987, allocations: 119.1 kB / 1.243 GB, free: 2.328 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001584/0.9003, allocations: 0.9533 MB / 1.244 GB, free: 1.352 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.9004, allocations: 0.5625 kB / 1.244 GB, free: 1.352 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0006811/0.901, allocations: 489 kB / 1.245 GB, free: 0.8477 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006053/0.9017, allocations: 72.47 kB / 1.245 GB, free: 0.7812 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.9031, allocations: 0.9164 MB / 1.246 GB, free: 15.83 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/0.9036, allocations: 0.8431 MB / 1.246 GB, free: 14.96 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0004561/0.904, allocations: 140.6 kB / 1.247 GB, free: 14.82 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.423e-05/0.9041, allocations: 23.44 kB / 1.247 GB, free: 14.8 MB / 0.823 GB Notification: Performance of SimCode: time 4.61e-07/0.9041, allocations: 0 / 1.247 GB, free: 14.8 MB / 0.823 GB Notification: Performance of Templates: time 0.01115/0.9153, allocations: 6.669 MB / 1.253 GB, free: 8.25 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)