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.001507/0.001507, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001775/0.001775, allocations: 193.8 kB / 16.14 MB, free: 6.652 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.693/1.693, allocations: 205.1 MB / 222 MB, free: 4.723 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.614/1.614, allocations: 251.7 MB / 0.5088 GB, free: 3.266 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.001383/0.001384, allocations: 59.92 kB / 0.6216 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6605/0.6619, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.007181/0.6692, allocations: 4.198 MB / 0.7279 GB, free: 8.922 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004118/0.6733, allocations: 2.217 MB / 0.7301 GB, free: 6.691 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000299/0.6737, allocations: 11.94 kB / 0.7301 GB, free: 6.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.6751, allocations: 0.51 MB / 0.7306 GB, free: 6.168 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007098/0.6759, allocations: 250.9 kB / 0.7308 GB, free: 5.922 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009977/0.6769, allocations: 315.4 kB / 0.7311 GB, free: 5.613 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000844/0.6777, allocations: 0.8142 MB / 0.7319 GB, free: 4.797 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006191/0.6784, allocations: 362.2 kB / 0.7323 GB, free: 4.445 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000309/0.6787, allocations: 199.3 kB / 0.7325 GB, free: 4.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004526/0.6791, allocations: 291 kB / 0.7327 GB, free: 3.965 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.689e-05/0.6792, allocations: 28 kB / 0.7328 GB, free: 3.938 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000572/0.6798, allocations: 299.4 kB / 0.733 GB, free: 3.645 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.68, allocations: 163.6 kB / 0.7332 GB, free: 3.484 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.6802, allocations: 206.9 kB / 0.7334 GB, free: 3.281 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006734/0.6809, allocations: 0.6424 MB / 0.734 GB, free: 2.637 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.6809, allocations: 0 / 0.734 GB, free: 2.637 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.62e-07/0.6809, allocations: 0 / 0.734 GB, free: 2.637 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.6809, allocations: 0 / 0.734 GB, free: 2.637 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.001307/0.6822, allocations: 0.7213 MB / 0.7347 GB, free: 1.863 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.6823, allocations: 8.031 kB / 0.7347 GB, free: 1.855 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.6833, allocations: 136.3 kB / 0.7349 GB, free: 1.723 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004486/0.6838, allocations: 328.4 kB / 0.7352 GB, free: 1.363 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.6838, allocations: 25.38 kB / 0.7352 GB, free: 1.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.121e-05/0.6839, allocations: 32.38 kB / 0.7352 GB, free: 1.309 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009187/0.6848, allocations: 0.6342 MB / 0.7359 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.6848, allocations: 7.938 kB / 0.7359 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.832e-05/0.6849, allocations: 12 kB / 0.7359 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.404e-05/0.685, allocations: 40.62 kB / 0.7359 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006935/0.6857, allocations: 476.9 kB / 0.7364 GB, free: 96 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003805/0.6895, allocations: 3.424 MB / 0.7397 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007284/0.6902, allocations: 377.5 kB / 0.7401 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.6905, allocations: 169.6 kB / 0.7402 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.6905, allocations: 4 kB / 0.7402 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.6906, allocations: 38.56 kB / 0.7403 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 2.154e-06/0.6906, allocations: 3.938 kB / 0.7403 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=26): time 0.004796/0.6954, allocations: 1.458 MB / 0.7417 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.6955, allocations: 85.11 kB / 0.7418 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003846/0.6959, allocations: 320.4 kB / 0.7421 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.6959, allocations: 33.7 kB / 0.7421 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.6961, allocations: 263.3 kB / 0.7424 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.317e-05/0.6962, allocations: 90.66 kB / 0.7425 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.6964, allocations: 94.14 kB / 0.7425 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.6966, allocations: 342.8 kB / 0.7429 GB, free: 9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/0.6968, allocations: 187 kB / 0.7431 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/0.6972, allocations: 338 kB / 0.7434 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006772/0.6979, allocations: 0.5396 MB / 0.7439 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.6979, allocations: 4 kB / 0.7439 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002295/0.7002, allocations: 0.9046 MB / 0.7448 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.7003, allocations: 12.06 kB / 0.7448 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.7003, allocations: 11.92 kB / 0.7448 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002298/0.7026, allocations: 0.497 MB / 0.7453 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004295/0.703, allocations: 99.81 kB / 0.7454 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005668/0.7087, allocations: 3.763 MB / 0.7491 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004772/0.7092, allocations: 39.81 kB / 0.7491 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.7093, allocations: 24 kB / 0.7491 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004445/0.7097, allocations: 301.1 kB / 0.7494 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003397/0.7101, allocations: 331.8 kB / 0.7497 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007033/0.7108, allocations: 0.4998 MB / 0.7502 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.747e-06/0.7108, allocations: 8 kB / 0.7502 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0007676/0.7116, allocations: 0.5285 MB / 0.7507 GB, free: 352 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.7116, allocations: 4 kB / 0.7507 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.7116, allocations: 8 kB / 0.7508 GB, free: 340 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.264e-06/0.7116, allocations: 8 kB / 0.7508 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004815/0.7121, allocations: 111.8 kB / 0.7509 GB, free: 220 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.7121, allocations: 11.94 kB / 0.7509 GB, free: 208 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.7124, allocations: 35.88 kB / 0.7509 GB, free: 172 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.7125, allocations: 16 kB / 0.7509 GB, free: 156 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.0002281/0.7127, allocations: 220.4 kB / 0.7511 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.7128, allocations: 39.61 kB / 0.7512 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/0.7145, allocations: 0.6704 MB / 0.7518 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.7145, allocations: 4 kB / 0.7518 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.7145, allocations: 4 kB / 0.7518 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.7145, allocations: 0 / 0.7518 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.7156, allocations: 0.6558 MB / 0.7525 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.7156, allocations: 0 / 0.7525 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.7158, allocations: 51.95 kB / 0.7525 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001535/0.7174, allocations: 409.2 kB / 0.7529 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.7174, allocations: 4 kB / 0.7529 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004224/0.7216, allocations: 3.47 MB / 0.7563 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.7217, allocations: 11.97 kB / 0.7563 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.7234, allocations: 0.8219 MB / 0.7571 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.7236, allocations: 144.6 kB / 0.7573 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.001e-05/0.7236, allocations: 8 kB / 0.7573 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/0.724, allocations: 39.94 kB / 0.7573 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.423e-05/0.7241, allocations: 23.97 kB / 0.7573 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.7241, allocations: 8 kB / 0.7573 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002999/0.7244, allocations: 227 kB / 0.7576 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7244, allocations: 0 / 0.7576 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009857/0.7254, allocations: 200.1 kB / 0.7577 GB, free: 8.758 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.0002098/0.7256, allocations: 107.2 kB / 0.7579 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001812/0.7275, allocations: 0.9671 MB / 0.7588 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.7275, allocations: 0 / 0.7588 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007546/0.7282, allocations: 488.3 kB / 0.7593 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006607/0.7289, allocations: 67.48 kB / 0.7593 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.7305, allocations: 0.9053 MB / 0.7602 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/0.731, allocations: 0.8509 MB / 0.761 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004008/0.7314, allocations: 135.2 kB / 0.7612 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.766e-05/0.7315, allocations: 31.44 kB / 0.7612 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.7315, allocations: 0 / 0.7612 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of Templates: time 0.01308/0.7446, allocations: 6.849 MB / 0.7679 GB, free: 14.29 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)