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.009997/0.009997, allocations: 102.8 kB / 15.73 MB, free: 5.961 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.001496/0.001496, allocations: 190 kB / 16.67 MB, free: 5.883 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.652/1.652, allocations: 205.1 MB / 222.5 MB, free: 4.371 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.697/1.697, allocations: 251.7 MB / 0.5094 GB, free: 3.027 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.001544/0.001544, allocations: 67.91 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2909, allocations: 104.7 MB / 0.828 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.007263/0.2982, allocations: 4.149 MB / 0.8321 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004721/0.303, allocations: 2.217 MB / 0.8343 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003971/0.3034, allocations: 15.94 kB / 0.8343 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.3052, allocations: 0.5325 MB / 0.8348 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00095/0.3062, allocations: 282.7 kB / 0.8351 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.3075, allocations: 331.2 kB / 0.8354 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001169/0.3087, allocations: 0.5724 MB / 0.8359 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008937/0.3096, allocations: 367.8 kB / 0.8363 GB, free: 7.723 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000671/0.3103, allocations: 223.3 kB / 0.8365 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009282/0.3113, allocations: 287 kB / 0.8368 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.3114, allocations: 39.94 kB / 0.8368 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000824/0.3122, allocations: 259.5 kB / 0.8371 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003005/0.3125, allocations: 171.6 kB / 0.8372 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000434/0.313, allocations: 214.9 kB / 0.8374 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.3144, allocations: 0.6424 MB / 0.838 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.3144, allocations: 0 / 0.838 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.677e-06/0.3145, allocations: 0 / 0.838 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.172e-05/0.3145, allocations: 0 / 0.838 GB, free: 5.906 MB / 0.6544 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.002094/0.3166, allocations: 0.7123 MB / 0.8387 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/0.3167, allocations: 8.031 kB / 0.8388 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.3178, allocations: 140.2 kB / 0.8389 GB, free: 5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000499/0.3183, allocations: 340.4 kB / 0.8392 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.3183, allocations: 33.36 kB / 0.8392 GB, free: 4.594 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.179e-05/0.3184, allocations: 32.38 kB / 0.8393 GB, free: 4.562 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009484/0.3194, allocations: 0.6263 MB / 0.8399 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.3194, allocations: 7.984 kB / 0.8399 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.548e-05/0.3194, allocations: 12 kB / 0.8399 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.821e-05/0.3195, allocations: 44.62 kB / 0.8399 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007384/0.3203, allocations: 478.1 kB / 0.8404 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003673/0.324, allocations: 3.413 MB / 0.8437 GB, free: 15.65 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007125/0.3247, allocations: 376.2 kB / 0.8441 GB, free: 15.27 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/0.325, allocations: 177.6 kB / 0.8443 GB, free: 15.09 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 4.01e-05/0.325, allocations: 11.92 kB / 0.8443 GB, free: 15.08 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.3251, allocations: 34.56 kB / 0.8443 GB, free: 15.04 MB / 0.67 GB Notification: Performance of pre-optimization done (n=25): time 2.655e-06/0.3251, allocations: 0 / 0.8443 GB, free: 15.04 MB / 0.67 GB Notification: Performance of matching and sorting (n=26): time 0.004616/0.3297, allocations: 1.454 MB / 0.8457 GB, free: 13.53 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.058e-05/0.3298, allocations: 85.11 kB / 0.8458 GB, free: 13.43 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.3302, allocations: 324.3 kB / 0.8461 GB, free: 13.11 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.3303, allocations: 33.7 kB / 0.8462 GB, free: 13.07 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.3304, allocations: 259.4 kB / 0.8464 GB, free: 12.8 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.56e-05/0.3305, allocations: 94.64 kB / 0.8465 GB, free: 12.71 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.3308, allocations: 90.16 kB / 0.8466 GB, free: 12.62 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3309, allocations: 342.8 kB / 0.8469 GB, free: 12.27 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.3312, allocations: 186.9 kB / 0.8471 GB, free: 12.09 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/0.3316, allocations: 334.1 kB / 0.8474 GB, free: 11.69 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006587/0.3323, allocations: 0.5396 MB / 0.8479 GB, free: 11.08 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.3323, allocations: 4 kB / 0.8479 GB, free: 11.07 MB / 0.67 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002283/0.3346, allocations: 0.9082 MB / 0.8488 GB, free: 10.15 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/0.3347, allocations: 8 kB / 0.8488 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.3347, allocations: 4 kB / 0.8488 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002319/0.337, allocations: 0.5012 MB / 0.8493 GB, free: 9.633 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/0.3374, allocations: 91.88 kB / 0.8494 GB, free: 9.543 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006294/0.3437, allocations: 4.057 MB / 0.8534 GB, free: 5.207 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005504/0.3443, allocations: 31.88 kB / 0.8534 GB, free: 5.176 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.952e-05/0.3444, allocations: 27.98 kB / 0.8534 GB, free: 5.148 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005037/0.345, allocations: 305.2 kB / 0.8537 GB, free: 4.844 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003945/0.3454, allocations: 327.8 kB / 0.854 GB, free: 4.449 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006566/0.346, allocations: 0.5037 MB / 0.8545 GB, free: 3.867 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.115e-06/0.3461, allocations: 4 kB / 0.8545 GB, free: 3.863 MB / 0.67 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009192/0.347, allocations: 0.5287 MB / 0.855 GB, free: 3.328 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.347, allocations: 8 kB / 0.855 GB, free: 3.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.347, allocations: 8 kB / 0.8551 GB, free: 3.312 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.347, allocations: 15.94 kB / 0.8551 GB, free: 3.297 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/0.3475, allocations: 103.8 kB / 0.8552 GB, free: 3.195 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.3475, allocations: 11.98 kB / 0.8552 GB, free: 3.184 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003713/0.3479, allocations: 35.83 kB / 0.8552 GB, free: 3.148 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.284e-05/0.3479, allocations: 23.98 kB / 0.8552 GB, free: 3.125 MB / 0.67 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.0002376/0.3482, allocations: 208.2 kB / 0.8554 GB, free: 2.914 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.3483, allocations: 39.55 kB / 0.8555 GB, free: 2.875 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/0.3501, allocations: 0.6767 MB / 0.8561 GB, free: 2.184 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.3501, allocations: 4 kB / 0.8561 GB, free: 2.18 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3501, allocations: 4 kB / 0.8561 GB, free: 2.176 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.3501, allocations: 3.984 kB / 0.8561 GB, free: 2.172 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.3513, allocations: 0.6559 MB / 0.8568 GB, free: 1.453 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.3513, allocations: 0 / 0.8568 GB, free: 1.453 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.3515, allocations: 43.91 kB / 0.8568 GB, free: 1.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001564/0.3531, allocations: 401.3 kB / 0.8572 GB, free: 1.012 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/0.3532, allocations: 8 kB / 0.8572 GB, free: 1.004 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004285/0.3575, allocations: 3.757 MB / 0.8609 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3575, allocations: 0 / 0.8609 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.3592, allocations: 0.822 MB / 0.8617 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002211/0.3595, allocations: 140.6 kB / 0.8618 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.363e-05/0.3596, allocations: 15.92 kB / 0.8618 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003825/0.3599, allocations: 35.94 kB / 0.8619 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.94e-05/0.3601, allocations: 23.97 kB / 0.8619 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.3601, allocations: 8 kB / 0.8619 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002941/0.3604, allocations: 227.1 kB / 0.8621 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3604, allocations: 0 / 0.8621 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001025/0.3614, allocations: 188 kB / 0.8623 GB, free: 11.47 MB / 0.6856 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.0002194/0.3616, allocations: 115.2 kB / 0.8624 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00193/0.3636, allocations: 0.9629 MB / 0.8634 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.3636, allocations: 0 / 0.8634 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007589/0.3644, allocations: 0.4907 MB / 0.8638 GB, free: 9.84 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006264/0.365, allocations: 68.98 kB / 0.8639 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.3665, allocations: 0.7305 MB / 0.8646 GB, free: 9.004 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.367, allocations: 0.847 MB / 0.8654 GB, free: 8.129 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003968/0.3674, allocations: 143.2 kB / 0.8656 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.847e-05/0.3675, allocations: 27.44 kB / 0.8656 GB, free: 7.965 MB / 0.6856 GB Notification: Performance of SimCode: time 4.61e-07/0.3675, allocations: 4 kB / 0.8656 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of Templates: time 0.01435/0.3819, allocations: 7.35 MB / 0.8728 GB, free: 0.6484 MB / 0.6856 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)