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.000872/0.0008719, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009576/0.0009578, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.674/1.674, allocations: 252 MB / 0.5102 GB, free: 4.84 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.0006478/0.000648, allocations: 19.94 kB / 0.6243 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6581/0.6588, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004482/0.6633, allocations: 3.646 MB / 0.7317 GB, free: 7.773 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003501/0.6669, allocations: 2.074 MB / 0.7337 GB, free: 5.688 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002584/0.6672, allocations: 7.938 kB / 0.7337 GB, free: 5.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.6675, allocations: 63.48 kB / 0.7338 GB, free: 5.617 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006549/0.6681, allocations: 215 kB / 0.734 GB, free: 5.406 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008252/0.669, allocations: 271.4 kB / 0.7343 GB, free: 5.141 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000704/0.6697, allocations: 0.6464 MB / 0.7349 GB, free: 4.492 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.6708, allocations: 0.6073 MB / 0.7355 GB, free: 3.871 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002934/0.6711, allocations: 183.3 kB / 0.7357 GB, free: 3.691 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004491/0.6716, allocations: 255.2 kB / 0.7359 GB, free: 3.441 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.6716, allocations: 20 kB / 0.7359 GB, free: 3.422 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003177/0.672, allocations: 147.8 kB / 0.7361 GB, free: 3.277 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.6721, allocations: 155.6 kB / 0.7362 GB, free: 3.125 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.768e-05/0.6722, allocations: 93.52 kB / 0.7363 GB, free: 3.027 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005089/0.6727, allocations: 496.6 kB / 0.7368 GB, free: 2.543 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.6727, allocations: 0 / 0.7368 GB, free: 2.543 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.156e-06/0.6728, allocations: 0 / 0.7368 GB, free: 2.543 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.6728, allocations: 0 / 0.7368 GB, free: 2.543 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.001088/0.6739, allocations: 0.6394 MB / 0.7374 GB, free: 1.852 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.6739, allocations: 8.031 kB / 0.7374 GB, free: 1.844 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009698/0.6749, allocations: 139.2 kB / 0.7375 GB, free: 1.707 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000475/0.6754, allocations: 319.3 kB / 0.7378 GB, free: 1.352 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.6754, allocations: 25 kB / 0.7379 GB, free: 1.328 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.663e-05/0.6755, allocations: 32 kB / 0.7379 GB, free: 1.297 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009422/0.6764, allocations: 0.626 MB / 0.7385 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.6765, allocations: 3.938 kB / 0.7385 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.945e-05/0.6765, allocations: 20 kB / 0.7385 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.635e-05/0.6766, allocations: 48.58 kB / 0.7386 GB, free: 0.543 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007432/0.6774, allocations: 470.2 kB / 0.739 GB, free: 80 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003181/0.6806, allocations: 3.428 MB / 0.7424 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006728/0.6813, allocations: 387.7 kB / 0.7427 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.6815, allocations: 165.6 kB / 0.7429 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.6816, allocations: 11.98 kB / 0.7429 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.6816, allocations: 34.56 kB / 0.7429 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 2.134e-06/0.6816, allocations: 0 / 0.7429 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=26): time 0.004127/0.6857, allocations: 1.461 MB / 0.7444 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.6858, allocations: 81.11 kB / 0.7444 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000366/0.6862, allocations: 328.3 kB / 0.7448 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.6862, allocations: 29.7 kB / 0.7448 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.6864, allocations: 259.3 kB / 0.745 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.507e-05/0.6865, allocations: 90.66 kB / 0.7451 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.6865, allocations: 12 kB / 0.7451 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.6866, allocations: 346.8 kB / 0.7455 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.6869, allocations: 173 kB / 0.7456 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003534/0.6873, allocations: 342.1 kB / 0.746 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003189/0.6876, allocations: 227.8 kB / 0.7462 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.6876, allocations: 4 kB / 0.7462 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002076/0.6897, allocations: 0.9048 MB / 0.7471 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001773/0.6899, allocations: 258.9 kB / 0.7473 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.69, allocations: 4 kB / 0.7473 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002014/0.692, allocations: 0.501 MB / 0.7478 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.6924, allocations: 95.81 kB / 0.7479 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005188/0.6976, allocations: 3.767 MB / 0.7516 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000456/0.6981, allocations: 39.95 kB / 0.7516 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/0.6981, allocations: 23.98 kB / 0.7516 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.6981, allocations: 4 kB / 0.7516 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007204/0.6988, allocations: 472 kB / 0.7521 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.6989, allocations: 7.984 kB / 0.7521 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.6989, allocations: 15.98 kB / 0.7521 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003761/0.6993, allocations: 111.8 kB / 0.7522 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.6993, allocations: 15.92 kB / 0.7522 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.6996, allocations: 35.77 kB / 0.7523 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.6996, allocations: 20 kB / 0.7523 GB, free: 1.641 MB / 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 (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.0003444/0.6999, allocations: 272.9 kB / 0.7525 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.706e-05/0.7, allocations: 31.62 kB / 0.7526 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001662/0.7017, allocations: 0.6657 MB / 0.7532 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.7017, allocations: 4 kB / 0.7532 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.7017, allocations: 3.953 kB / 0.7532 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.7017, allocations: 0 / 0.7532 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000853/0.7026, allocations: 0.6637 MB / 0.7539 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.7026, allocations: 0 / 0.7539 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.7028, allocations: 43.95 kB / 0.7539 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001376/0.7042, allocations: 409.2 kB / 0.7543 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.7042, allocations: 4 kB / 0.7543 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003567/0.7078, allocations: 3.475 MB / 0.7577 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7078, allocations: 0 / 0.7577 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.7094, allocations: 0.8321 MB / 0.7585 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001801/0.7096, allocations: 144.6 kB / 0.7587 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.7096, allocations: 7.953 kB / 0.7587 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003196/0.71, allocations: 35.94 kB / 0.7587 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.71, allocations: 23.97 kB / 0.7587 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.7101, allocations: 12 kB / 0.7587 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002597/0.7103, allocations: 223 kB / 0.7589 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7103, allocations: 0 / 0.7589 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009181/0.7113, allocations: 196 kB / 0.7591 GB, free: 10.21 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 (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.0001601/0.7114, allocations: 107.3 kB / 0.7592 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.7131, allocations: 0.9602 MB / 0.7602 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.7131, allocations: 4.562 kB / 0.7602 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006913/0.7138, allocations: 482.8 kB / 0.7606 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005651/0.7144, allocations: 71.98 kB / 0.7607 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.7158, allocations: 0.9095 MB / 0.7616 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.7163, allocations: 0.847 MB / 0.7624 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004373/0.7168, allocations: 143.3 kB / 0.7626 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.1e-05/0.7168, allocations: 31.38 kB / 0.7626 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.7169, allocations: 0 / 0.7626 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of Templates: time 0.01183/0.7287, allocations: 6.599 MB / 0.769 GB, free: 15.99 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: