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.001298/0.001299, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.00146, allocations: 192.1 kB / 16.53 MB, free: 6.625 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.621/1.621, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.917/1.917, allocations: 251.7 MB / 0.5092 GB, free: 3.168 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.00186/0.00186, allocations: 71.89 kB / 0.6223 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.663/0.6649, allocations: 104.7 MB / 0.7245 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006362/0.6713, allocations: 4.149 MB / 0.7286 GB, free: 8.805 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004152/0.6755, allocations: 2.213 MB / 0.7307 GB, free: 6.578 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002628/0.6758, allocations: 7.938 kB / 0.7307 GB, free: 6.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.6775, allocations: 0.5432 MB / 0.7313 GB, free: 6.027 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006294/0.6781, allocations: 274.6 kB / 0.7315 GB, free: 5.758 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009387/0.6791, allocations: 343.2 kB / 0.7319 GB, free: 5.422 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006156/0.6797, allocations: 0.5568 MB / 0.7324 GB, free: 4.863 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005779/0.6803, allocations: 369.8 kB / 0.7328 GB, free: 4.504 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/0.6806, allocations: 231.2 kB / 0.733 GB, free: 4.277 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004216/0.681, allocations: 271.1 kB / 0.7332 GB, free: 4.012 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.044e-05/0.6811, allocations: 40 kB / 0.7333 GB, free: 3.973 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004562/0.6816, allocations: 259.5 kB / 0.7335 GB, free: 3.719 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.6818, allocations: 175.6 kB / 0.7337 GB, free: 3.547 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.682, allocations: 214.9 kB / 0.7339 GB, free: 3.336 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007223/0.6827, allocations: 0.6386 MB / 0.7345 GB, free: 2.695 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.6827, allocations: 0 / 0.7345 GB, free: 2.695 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.317e-06/0.6827, allocations: 3.984 kB / 0.7345 GB, free: 2.691 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.6827, allocations: 0 / 0.7345 GB, free: 2.691 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.001286/0.684, allocations: 0.7167 MB / 0.7352 GB, free: 1.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.6841, allocations: 12.03 kB / 0.7352 GB, free: 1.918 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009788/0.6851, allocations: 132.3 kB / 0.7354 GB, free: 1.789 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.6855, allocations: 324.4 kB / 0.7357 GB, free: 1.434 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/0.6855, allocations: 33.36 kB / 0.7357 GB, free: 1.398 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.483e-05/0.6856, allocations: 32.38 kB / 0.7357 GB, free: 1.367 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008776/0.6865, allocations: 0.6341 MB / 0.7364 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.6865, allocations: 3.984 kB / 0.7364 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-05/0.6866, allocations: 16 kB / 0.7364 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.204e-05/0.6867, allocations: 36.64 kB / 0.7364 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000673/0.6873, allocations: 482.1 kB / 0.7369 GB, free: 160 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003519/0.6909, allocations: 3.424 MB / 0.7402 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006519/0.6915, allocations: 368.1 kB / 0.7406 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/0.6918, allocations: 173.6 kB / 0.7407 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.6918, allocations: 3.984 kB / 0.7407 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.6919, allocations: 46.5 kB / 0.7408 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 1.824e-06/0.6919, allocations: 0 / 0.7408 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=26): time 0.004432/0.6963, allocations: 1.461 MB / 0.7422 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.6964, allocations: 77.11 kB / 0.7423 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.6967, allocations: 324.4 kB / 0.7426 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.6968, allocations: 29.7 kB / 0.7426 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.6969, allocations: 255.4 kB / 0.7429 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.658e-05/0.697, allocations: 98.64 kB / 0.743 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.6972, allocations: 94.16 kB / 0.743 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.6973, allocations: 342.8 kB / 0.7434 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.6976, allocations: 187 kB / 0.7435 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.6979, allocations: 338.1 kB / 0.7439 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006566/0.6986, allocations: 0.5396 MB / 0.7444 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.6986, allocations: 3.938 kB / 0.7444 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00225/0.7009, allocations: 0.912 MB / 0.7453 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.7009, allocations: 4 kB / 0.7453 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.7009, allocations: 8.438 kB / 0.7453 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002257/0.7032, allocations: 0.5048 MB / 0.7458 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.7036, allocations: 91.88 kB / 0.7459 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005609/0.7092, allocations: 4.061 MB / 0.7498 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000396/0.7096, allocations: 39.81 kB / 0.7499 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/0.7097, allocations: 19.98 kB / 0.7499 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003953/0.7101, allocations: 301.1 kB / 0.7502 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003479/0.7104, allocations: 327.8 kB / 0.7505 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005852/0.711, allocations: 0.5067 MB / 0.751 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.298e-06/0.711, allocations: 0 / 0.751 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008381/0.7119, allocations: 0.533 MB / 0.7515 GB, free: 104 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.7119, allocations: 10.03 kB / 0.7515 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.7119, allocations: 8 kB / 0.7515 GB, free: 88 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.7119, allocations: 11.94 kB / 0.7515 GB, free: 76 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/0.7123, allocations: 108.5 kB / 0.7517 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.7123, allocations: 11.98 kB / 0.7517 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.7127, allocations: 35.83 kB / 0.7517 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.7127, allocations: 20 kB / 0.7517 GB, free: 15.9 MB / 0.5762 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.0001769/0.7129, allocations: 208.1 kB / 0.7519 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.794e-05/0.713, allocations: 31.62 kB / 0.7519 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001739/0.7148, allocations: 0.6819 MB / 0.7526 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.7148, allocations: 4 kB / 0.7526 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.7148, allocations: 0 / 0.7526 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.7148, allocations: 3.984 kB / 0.7526 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009861/0.7158, allocations: 0.6559 MB / 0.7533 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.7158, allocations: 8.031 kB / 0.7533 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.716, allocations: 43.91 kB / 0.7533 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/0.7175, allocations: 401.2 kB / 0.7537 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.7175, allocations: 4 kB / 0.7537 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004724/0.7223, allocations: 3.761 MB / 0.7574 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.7223, allocations: 0 / 0.7574 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.7239, allocations: 0.822 MB / 0.7582 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.7242, allocations: 144.6 kB / 0.7583 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.858e-05/0.7242, allocations: 4 kB / 0.7583 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.7246, allocations: 39.94 kB / 0.7584 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.409e-05/0.7247, allocations: 23.91 kB / 0.7584 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.7247, allocations: 12 kB / 0.7584 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002618/0.725, allocations: 235 kB / 0.7586 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.725, allocations: 0 / 0.7586 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009269/0.7259, allocations: 192 kB / 0.7588 GB, free: 8.23 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.0001962/0.7261, allocations: 111.2 kB / 0.7589 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001794/0.7279, allocations: 0.9946 MB / 0.7599 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7279, allocations: 0 / 0.7599 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007213/0.7287, allocations: 491.9 kB / 0.7603 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006059/0.7293, allocations: 77.78 kB / 0.7604 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.7309, allocations: 0.7421 MB / 0.7611 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000487/0.7314, allocations: 0.8509 MB / 0.762 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004046/0.7318, allocations: 139.1 kB / 0.7621 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.293e-05/0.7319, allocations: 27.38 kB / 0.7621 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of SimCode: time 1.193e-06/0.7319, allocations: 4 kB / 0.7621 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of Templates: time 0.01409/0.746, allocations: 7.228 MB / 0.7692 GB, free: 13.5 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)