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.006553/0.006553, allocations: 103.1 kB / 15.73 MB, free: 6.051 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.001309/0.001309, allocations: 191.2 kB / 16.67 MB, free: 5.98 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.612/1.612, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.642/1.642, allocations: 251.7 MB / 0.5094 GB, free: 3.055 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.001496/0.001496, allocations: 74.64 kB / 0.7258 GB, free: 8.996 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3302, allocations: 104.7 MB / 0.828 GB, free: 184 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006648/0.3369, allocations: 4.149 MB / 0.8321 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004334/0.3412, allocations: 2.221 MB / 0.8343 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003378/0.3416, allocations: 11.94 kB / 0.8343 GB, free: 9.766 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.3433, allocations: 0.537 MB / 0.8348 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0006878/0.344, allocations: 266.7 kB / 0.835 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009767/0.345, allocations: 358.4 kB / 0.8354 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005791/0.3456, allocations: 0.5568 MB / 0.8359 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000574/0.3462, allocations: 371.8 kB / 0.8363 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002782/0.3465, allocations: 231.2 kB / 0.8365 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004525/0.347, allocations: 275.1 kB / 0.8368 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.006e-05/0.347, allocations: 32 kB / 0.8368 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004595/0.3475, allocations: 263.5 kB / 0.8371 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.3477, allocations: 171.6 kB / 0.8372 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.3479, allocations: 222.9 kB / 0.8374 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007614/0.3487, allocations: 0.6385 MB / 0.8381 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3487, allocations: 0 / 0.8381 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.995e-06/0.3487, allocations: 0 / 0.8381 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.3487, allocations: 0 / 0.8381 GB, free: 5.883 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.001323/0.3501, allocations: 0.7175 MB / 0.8388 GB, free: 5.113 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.3501, allocations: 8.031 kB / 0.8388 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.3512, allocations: 140.2 kB / 0.8389 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005688/0.3518, allocations: 332.4 kB / 0.8392 GB, free: 4.602 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/0.3518, allocations: 25.38 kB / 0.8392 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.398e-05/0.3519, allocations: 32.38 kB / 0.8393 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009671/0.3529, allocations: 0.638 MB / 0.8399 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.3529, allocations: 4 kB / 0.8399 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.859e-05/0.353, allocations: 12 kB / 0.8399 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.995e-05/0.3531, allocations: 44.56 kB / 0.8399 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006997/0.3538, allocations: 478.2 kB / 0.8404 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003701/0.3575, allocations: 3.416 MB / 0.8437 GB, free: 15.62 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007361/0.3582, allocations: 368.9 kB / 0.8441 GB, free: 15.25 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/0.3585, allocations: 169.6 kB / 0.8443 GB, free: 15.07 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.3585, allocations: 0 / 0.8443 GB, free: 15.07 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.3586, allocations: 50.48 kB / 0.8443 GB, free: 15.02 MB / 0.67 GB Notification: Performance of pre-optimization done (n=25): time 1.442e-06/0.3586, allocations: 0 / 0.8443 GB, free: 15.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=26): time 0.004705/0.3633, allocations: 1.449 MB / 0.8457 GB, free: 13.52 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.3634, allocations: 85.05 kB / 0.8458 GB, free: 13.41 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003516/0.3637, allocations: 332.3 kB / 0.8461 GB, free: 13.08 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.3638, allocations: 29.7 kB / 0.8461 GB, free: 13.05 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.3639, allocations: 255.4 kB / 0.8464 GB, free: 12.79 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.05e-05/0.364, allocations: 94.66 kB / 0.8465 GB, free: 12.7 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.3642, allocations: 94.14 kB / 0.8466 GB, free: 12.6 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3643, allocations: 338.8 kB / 0.8469 GB, free: 12.26 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.3646, allocations: 187 kB / 0.8471 GB, free: 12.07 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003848/0.365, allocations: 339.3 kB / 0.8474 GB, free: 11.67 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007483/0.3658, allocations: 0.5434 MB / 0.8479 GB, free: 11.05 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.3658, allocations: 4 kB / 0.8479 GB, free: 11.05 MB / 0.67 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002334/0.3681, allocations: 0.9003 MB / 0.8488 GB, free: 10.14 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.3682, allocations: 7.938 kB / 0.8488 GB, free: 10.13 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.3682, allocations: 8.438 kB / 0.8488 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002242/0.3705, allocations: 0.5049 MB / 0.8493 GB, free: 9.609 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/0.3709, allocations: 99.81 kB / 0.8494 GB, free: 9.512 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005775/0.3767, allocations: 4.05 MB / 0.8534 GB, free: 5.184 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004464/0.3771, allocations: 39.86 kB / 0.8534 GB, free: 5.145 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/0.3772, allocations: 20 kB / 0.8534 GB, free: 5.125 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004252/0.3776, allocations: 301.1 kB / 0.8537 GB, free: 4.824 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003393/0.378, allocations: 327.8 kB / 0.854 GB, free: 4.43 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006292/0.3786, allocations: 0.5116 MB / 0.8545 GB, free: 3.84 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.32e-06/0.3786, allocations: 4 kB / 0.8545 GB, free: 3.836 MB / 0.67 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0007894/0.3794, allocations: 0.5244 MB / 0.855 GB, free: 3.305 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3794, allocations: 8 kB / 0.855 GB, free: 3.297 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3795, allocations: 8 kB / 0.8551 GB, free: 3.289 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.886e-06/0.3795, allocations: 11.94 kB / 0.8551 GB, free: 3.277 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000391/0.3799, allocations: 111.8 kB / 0.8552 GB, free: 3.168 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.3799, allocations: 11.94 kB / 0.8552 GB, free: 3.156 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.3802, allocations: 31.83 kB / 0.8552 GB, free: 3.125 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.3802, allocations: 24.39 kB / 0.8552 GB, free: 3.102 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.00018/0.3804, allocations: 212.1 kB / 0.8554 GB, free: 2.887 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.12e-05/0.3805, allocations: 31.62 kB / 0.8555 GB, free: 2.855 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.3822, allocations: 0.6748 MB / 0.8561 GB, free: 2.164 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3822, allocations: 8 kB / 0.8561 GB, free: 2.156 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3822, allocations: 0 / 0.8561 GB, free: 2.156 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.3822, allocations: 4 kB / 0.8561 GB, free: 2.152 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.3832, allocations: 0.652 MB / 0.8568 GB, free: 1.438 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3833, allocations: 0 / 0.8568 GB, free: 1.438 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.3835, allocations: 47.91 kB / 0.8568 GB, free: 1.391 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001514/0.385, allocations: 401.3 kB / 0.8572 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.385, allocations: 8.047 kB / 0.8572 GB, free: 0.9844 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004043/0.3891, allocations: 3.761 MB / 0.8609 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3891, allocations: 0 / 0.8609 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.3908, allocations: 0.8265 MB / 0.8617 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002102/0.391, allocations: 144.6 kB / 0.8618 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.3911, allocations: 8 kB / 0.8618 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/0.3914, allocations: 35.94 kB / 0.8619 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.996e-05/0.3915, allocations: 23.97 kB / 0.8619 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.3916, allocations: 4 kB / 0.8619 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002613/0.3918, allocations: 231 kB / 0.8621 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3918, allocations: 4 kB / 0.8621 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009167/0.3928, allocations: 195.9 kB / 0.8623 GB, free: 11.43 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.0002038/0.393, allocations: 107.2 kB / 0.8624 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001779/0.3948, allocations: 0.9635 MB / 0.8634 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3948, allocations: 0.6875 kB / 0.8634 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007235/0.3955, allocations: 0.4922 MB / 0.8638 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006121/0.3961, allocations: 77.16 kB / 0.8639 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.3976, allocations: 0.7314 MB / 0.8646 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005256/0.3981, allocations: 0.8431 MB / 0.8654 GB, free: 8.102 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004078/0.3985, allocations: 143.1 kB / 0.8656 GB, free: 7.965 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.87e-05/0.3986, allocations: 31.38 kB / 0.8656 GB, free: 7.934 MB / 0.6856 GB Notification: Performance of SimCode: time 5.71e-07/0.3986, allocations: 0 / 0.8656 GB, free: 7.934 MB / 0.6856 GB Notification: Performance of Templates: time 0.01411/0.4127, allocations: 7.34 MB / 0.8728 GB, free: 0.625 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)