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.001213/0.001213, allocations: 107.4 kB / 15.34 MB, free: 0.4961 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.001604/0.001604, allocations: 190.1 kB / 16.25 MB, free: 6.633 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.727/1.727, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.675/1.675, allocations: 251.6 MB / 0.5089 GB, free: 3.246 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.002377/0.002378, allocations: 71.89 kB / 0.6218 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6992/0.7016, allocations: 104.7 MB / 0.724 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006505/0.7081, allocations: 4.186 MB / 0.7281 GB, free: 9.023 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004131/0.7123, allocations: 2.202 MB / 0.7302 GB, free: 6.809 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.7126, allocations: 11.94 kB / 0.7302 GB, free: 6.797 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00163/0.7142, allocations: 0.5018 MB / 0.7307 GB, free: 6.297 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006816/0.7149, allocations: 250.9 kB / 0.731 GB, free: 6.051 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009781/0.7159, allocations: 323.3 kB / 0.7313 GB, free: 5.734 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006262/0.7166, allocations: 0.5607 MB / 0.7318 GB, free: 5.172 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000665/0.7172, allocations: 421.9 kB / 0.7322 GB, free: 4.762 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002918/0.7175, allocations: 231.2 kB / 0.7325 GB, free: 4.535 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004594/0.718, allocations: 291.1 kB / 0.7327 GB, free: 4.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.33e-05/0.7181, allocations: 36 kB / 0.7328 GB, free: 4.215 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004679/0.7185, allocations: 259.5 kB / 0.733 GB, free: 3.961 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001834/0.7187, allocations: 183.5 kB / 0.7332 GB, free: 3.781 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002355/0.719, allocations: 218.9 kB / 0.7334 GB, free: 3.566 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007656/0.7197, allocations: 0.6502 MB / 0.734 GB, free: 2.914 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.7198, allocations: 0 / 0.734 GB, free: 2.914 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.855e-06/0.7198, allocations: 0 / 0.734 GB, free: 2.914 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.7198, allocations: 0 / 0.734 GB, free: 2.914 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.001231/0.721, allocations: 0.7174 MB / 0.7347 GB, free: 2.148 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.7211, allocations: 8.031 kB / 0.7347 GB, free: 2.141 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009899/0.7221, allocations: 136.3 kB / 0.7349 GB, free: 2.008 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.7225, allocations: 324.4 kB / 0.7352 GB, free: 1.652 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/0.7225, allocations: 33.36 kB / 0.7352 GB, free: 1.617 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.05e-05/0.7226, allocations: 40.36 kB / 0.7352 GB, free: 1.578 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009222/0.7236, allocations: 0.6147 MB / 0.7358 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.7236, allocations: 11.94 kB / 0.7359 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.039e-05/0.7237, allocations: 19.98 kB / 0.7359 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.162e-05/0.7238, allocations: 44.62 kB / 0.7359 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006826/0.7244, allocations: 470.2 kB / 0.7364 GB, free: 384 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003414/0.7279, allocations: 3.42 MB / 0.7397 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006873/0.7286, allocations: 376.9 kB / 0.7401 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.7288, allocations: 169.6 kB / 0.7402 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.449e-05/0.7289, allocations: 7.984 kB / 0.7402 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.7289, allocations: 42.56 kB / 0.7403 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 3.637e-06/0.7289, allocations: 0 / 0.7403 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=26): time 0.004671/0.7336, allocations: 1.453 MB / 0.7417 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.7337, allocations: 85.11 kB / 0.7418 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.7341, allocations: 328.4 kB / 0.7421 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.7341, allocations: 29.7 kB / 0.7421 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.7343, allocations: 251.4 kB / 0.7424 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.004e-05/0.7344, allocations: 94.64 kB / 0.7425 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.7346, allocations: 98.14 kB / 0.7425 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.7347, allocations: 338.8 kB / 0.7429 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.735, allocations: 187 kB / 0.743 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003823/0.7354, allocations: 342 kB / 0.7434 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006506/0.7361, allocations: 0.5396 MB / 0.7439 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7361, allocations: 0 / 0.7439 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002226/0.7383, allocations: 0.9042 MB / 0.7448 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/0.7384, allocations: 11.98 kB / 0.7448 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.7384, allocations: 4.438 kB / 0.7448 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002306/0.7407, allocations: 0.5048 MB / 0.7453 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/0.7411, allocations: 99.81 kB / 0.7454 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005915/0.747, allocations: 4.063 MB / 0.7494 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/0.7475, allocations: 43.81 kB / 0.7494 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.7475, allocations: 20 kB / 0.7494 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004233/0.748, allocations: 297.1 kB / 0.7497 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003788/0.7483, allocations: 335.8 kB / 0.75 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000606/0.749, allocations: 0.504 MB / 0.7505 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.494e-06/0.749, allocations: 0 / 0.7505 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008269/0.7498, allocations: 0.5243 MB / 0.751 GB, free: 332 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.7498, allocations: 8 kB / 0.751 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.7498, allocations: 4 kB / 0.751 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.7499, allocations: 11.94 kB / 0.751 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.7503, allocations: 111.8 kB / 0.7512 GB, free: 196 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.7503, allocations: 16.53 kB / 0.7512 GB, free: 180 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.7506, allocations: 35.88 kB / 0.7512 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.7507, allocations: 20 kB / 0.7512 GB, free: 124 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.0002283/0.7509, allocations: 208.1 kB / 0.7514 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.751, allocations: 35.77 kB / 0.7515 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.7527, allocations: 0.6829 MB / 0.7521 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.7527, allocations: 4 kB / 0.7521 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.7528, allocations: 0 / 0.7521 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.7528, allocations: 0 / 0.7521 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.7538, allocations: 0.652 MB / 0.7528 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.7538, allocations: 4 kB / 0.7528 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.754, allocations: 52.05 kB / 0.7528 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001605/0.7556, allocations: 401.1 kB / 0.7532 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.7556, allocations: 7.938 kB / 0.7532 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004964/0.7606, allocations: 3.757 MB / 0.7569 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.906e-06/0.7607, allocations: 7.969 kB / 0.7569 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.7626, allocations: 0.822 MB / 0.7577 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/0.7629, allocations: 140.6 kB / 0.7578 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.17e-05/0.763, allocations: 8 kB / 0.7578 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000366/0.7633, allocations: 35.94 kB / 0.7579 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.954e-05/0.7634, allocations: 27.97 kB / 0.7579 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.7634, allocations: 11.94 kB / 0.7579 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002857/0.7637, allocations: 231 kB / 0.7581 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7637, allocations: 0 / 0.7581 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001039/0.7648, allocations: 192 kB / 0.7583 GB, free: 8.445 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.0002437/0.765, allocations: 103.2 kB / 0.7584 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001799/0.7668, allocations: 1.002 MB / 0.7594 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.7669, allocations: 4 kB / 0.7594 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007296/0.7676, allocations: 482 kB / 0.7598 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005961/0.7682, allocations: 84.17 kB / 0.7599 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.7697, allocations: 0.9053 MB / 0.7608 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/0.7701, allocations: 0.8431 MB / 0.7616 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003746/0.7705, allocations: 143.2 kB / 0.7618 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.477e-05/0.7706, allocations: 31.42 kB / 0.7618 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.7706, allocations: 4 kB / 0.7618 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of Templates: time 0.0122/0.7828, allocations: 7.21 MB / 0.7688 GB, free: 13.57 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (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)