Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.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.7.0.x_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.0008522/0.0008555, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006628/0.006628, allocations: 170 kB / 16.26 MB, free: 6.613 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.685/1.685, allocations: 205.4 MB / 222.4 MB, free: 5.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.593/1.593, allocations: 252 MB / 0.5105 GB, free: 4.734 MB / 414.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.0007234/0.0007234, allocations: 16 kB / 0.6249 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.625/0.6257, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005582/0.6313, allocations: 3.813 MB / 0.7324 GB, free: 7.465 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004151/0.6355, allocations: 2.194 MB / 0.7346 GB, free: 5.258 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004136/0.636, allocations: 8 kB / 0.7346 GB, free: 5.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003639/0.6364, allocations: 67.48 kB / 0.7347 GB, free: 5.184 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009954/0.6374, allocations: 243 kB / 0.7349 GB, free: 4.945 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.6385, allocations: 323.3 kB / 0.7352 GB, free: 4.629 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00107/0.6395, allocations: 0.8064 MB / 0.736 GB, free: 3.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.641, allocations: 0.6472 MB / 0.7366 GB, free: 3.156 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005245/0.6415, allocations: 183.2 kB / 0.7368 GB, free: 2.977 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007643/0.6423, allocations: 263.1 kB / 0.737 GB, free: 2.719 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.6424, allocations: 20 kB / 0.7371 GB, free: 2.699 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006832/0.6431, allocations: 295.4 kB / 0.7373 GB, free: 2.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.6433, allocations: 155.6 kB / 0.7375 GB, free: 2.258 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002998/0.6436, allocations: 216.6 kB / 0.7377 GB, free: 2.039 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009149/0.6446, allocations: 0.6267 MB / 0.7383 GB, free: 1.41 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.6446, allocations: 0 / 0.7383 GB, free: 1.41 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6446, allocations: 0 / 0.7383 GB, free: 1.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.583e-05/0.6446, allocations: 0 / 0.7383 GB, free: 1.41 MB / 0.545 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.001233/0.6459, allocations: 0.6278 MB / 0.7389 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.6459, allocations: 16.02 kB / 0.7389 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.647, allocations: 140.2 kB / 0.7391 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004952/0.6475, allocations: 320.5 kB / 0.7394 GB, free: 228 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.6476, allocations: 33.36 kB / 0.7394 GB, free: 196 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.934e-05/0.6476, allocations: 32.38 kB / 0.7394 GB, free: 164 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000967/0.6486, allocations: 0.6263 MB / 0.7401 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.6486, allocations: 8 kB / 0.7401 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.201e-05/0.6487, allocations: 19.97 kB / 0.7401 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.575e-05/0.6488, allocations: 44.64 kB / 0.7401 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007055/0.6495, allocations: 474.1 kB / 0.7406 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003371/0.6529, allocations: 3.424 MB / 0.7439 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007163/0.6536, allocations: 372.9 kB / 0.7443 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.6539, allocations: 177.6 kB / 0.7444 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.6539, allocations: 7.984 kB / 0.7445 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.654, allocations: 46.44 kB / 0.7445 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 1.773e-06/0.654, allocations: 0 / 0.7445 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=26): time 0.004707/0.6587, allocations: 1.461 MB / 0.7459 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.6588, allocations: 89.09 kB / 0.746 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003538/0.6591, allocations: 320.4 kB / 0.7463 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.6592, allocations: 33.7 kB / 0.7463 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.6593, allocations: 263.2 kB / 0.7466 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.258e-05/0.6594, allocations: 90.73 kB / 0.7467 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.6595, allocations: 37.7 kB / 0.7467 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6596, allocations: 346.8 kB / 0.7471 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.6599, allocations: 173 kB / 0.7472 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003988/0.6603, allocations: 346 kB / 0.7475 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006934/0.661, allocations: 0.5318 MB / 0.7481 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.661, allocations: 0 / 0.7481 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002354/0.6634, allocations: 0.9159 MB / 0.749 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001927/0.6636, allocations: 251 kB / 0.7492 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.6636, allocations: 11.94 kB / 0.7492 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002391/0.666, allocations: 0.5049 MB / 0.7497 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003922/0.6664, allocations: 99.81 kB / 0.7498 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00603/0.6724, allocations: 3.774 MB / 0.7535 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004278/0.6729, allocations: 35.89 kB / 0.7535 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.6729, allocations: 24.06 kB / 0.7535 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.806e-06/0.673, allocations: 4 kB / 0.7535 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007472/0.6737, allocations: 483.8 kB / 0.754 GB, free: 260 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.6737, allocations: 8 kB / 0.754 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.6738, allocations: 11.98 kB / 0.754 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.6741, allocations: 103.8 kB / 0.7541 GB, free: 136 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.6741, allocations: 8 kB / 0.7541 GB, free: 128 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.6744, allocations: 39.81 kB / 0.7542 GB, free: 88 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.981e-05/0.6745, allocations: 20 kB / 0.7542 GB, free: 68 kB / 0.5606 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.0003988/0.6749, allocations: 281.9 kB / 0.7545 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-05/0.675, allocations: 31.62 kB / 0.7545 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/0.6767, allocations: 0.6656 MB / 0.7551 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.6767, allocations: 0 / 0.7551 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6767, allocations: 7.984 kB / 0.7551 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.6768, allocations: 4 kB / 0.7552 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.6778, allocations: 0.6559 MB / 0.7558 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6778, allocations: 0 / 0.7558 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.678, allocations: 43.97 kB / 0.7558 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001588/0.6796, allocations: 405.2 kB / 0.7562 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.6797, allocations: 11.98 kB / 0.7562 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004667/0.6843, allocations: 3.486 MB / 0.7596 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.6844, allocations: 0 / 0.7596 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.6863, allocations: 0.8437 MB / 0.7605 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.6865, allocations: 148.6 kB / 0.7606 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.6866, allocations: 8 kB / 0.7606 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/0.6869, allocations: 31.94 kB / 0.7606 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-05/0.687, allocations: 23.97 kB / 0.7607 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.687, allocations: 12 kB / 0.7607 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000275/0.6873, allocations: 227.1 kB / 0.7609 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6873, allocations: 3.938 kB / 0.7609 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009523/0.6883, allocations: 188 kB / 0.7611 GB, free: 8.609 MB / 0.5762 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.0002375/0.6885, allocations: 107.8 kB / 0.7612 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001749/0.6903, allocations: 0.9644 MB / 0.7621 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6903, allocations: 0 / 0.7621 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007926/0.6911, allocations: 478.8 kB / 0.7626 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000687/0.6918, allocations: 72.36 kB / 0.7626 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.6933, allocations: 0.9252 MB / 0.7635 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.6938, allocations: 0.847 MB / 0.7644 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003831/0.6942, allocations: 139.1 kB / 0.7645 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.461e-05/0.6943, allocations: 27.44 kB / 0.7645 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of SimCode: time 4.568e-06/0.6943, allocations: 0 / 0.7645 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of Templates: time 0.01211/0.7064, allocations: 6.765 MB / 0.7711 GB, free: 14.2 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) Environment - environmentSimulation: