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.008345/0.008345, allocations: 103.5 kB / 15.73 MB, free: 6.035 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.001549/0.001549, allocations: 197.5 kB / 16.67 MB, free: 5.969 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.728/1.728, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.706/1.706, allocations: 251.7 MB / 0.5094 GB, free: 2.934 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.001652/0.001652, allocations: 71.88 kB / 0.7258 GB, free: 9.008 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2667, allocations: 104.7 MB / 0.828 GB, free: 200 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005917/0.2727, allocations: 4.149 MB / 0.8321 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003818/0.2766, allocations: 2.217 MB / 0.8343 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002516/0.2768, allocations: 11.94 kB / 0.8343 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.2784, allocations: 0.5292 MB / 0.8348 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000619/0.279, allocations: 278.7 kB / 0.8351 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009299/0.28, allocations: 343.1 kB / 0.8354 GB, free: 8.641 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005888/0.2806, allocations: 0.5646 MB / 0.8359 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000521/0.2811, allocations: 359.8 kB / 0.8363 GB, free: 7.723 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002825/0.2814, allocations: 227.3 kB / 0.8365 GB, free: 7.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000428/0.2818, allocations: 287 kB / 0.8368 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.278e-05/0.2819, allocations: 36 kB / 0.8368 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004305/0.2823, allocations: 255.5 kB / 0.837 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.2825, allocations: 175.6 kB / 0.8372 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.2827, allocations: 214.9 kB / 0.8374 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006704/0.2834, allocations: 0.6463 MB / 0.838 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2834, allocations: 0 / 0.838 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.532e-06/0.2834, allocations: 0 / 0.838 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.2834, allocations: 0 / 0.838 GB, free: 5.902 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.001131/0.2846, allocations: 0.7137 MB / 0.8387 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2846, allocations: 8.031 kB / 0.8387 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009886/0.2856, allocations: 136.2 kB / 0.8389 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004959/0.2861, allocations: 340.4 kB / 0.8392 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.2861, allocations: 29.36 kB / 0.8392 GB, free: 4.594 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.771e-05/0.2862, allocations: 40.31 kB / 0.8393 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009109/0.2871, allocations: 0.6295 MB / 0.8399 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.2872, allocations: 0 / 0.8399 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.628e-05/0.2872, allocations: 23.98 kB / 0.8399 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-05/0.2873, allocations: 40.62 kB / 0.8399 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007177/0.2881, allocations: 482.1 kB / 0.8404 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00368/0.2918, allocations: 3.405 MB / 0.8437 GB, free: 15.65 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007017/0.2925, allocations: 369 kB / 0.8441 GB, free: 15.27 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.2927, allocations: 173.6 kB / 0.8442 GB, free: 15.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.2928, allocations: 7.984 kB / 0.8443 GB, free: 15.09 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.2928, allocations: 42.48 kB / 0.8443 GB, free: 15.04 MB / 0.67 GB Notification: Performance of pre-optimization done (n=25): time 3.917e-06/0.2928, allocations: 7.922 kB / 0.8443 GB, free: 15.03 MB / 0.67 GB Notification: Performance of matching and sorting (n=26): time 0.004624/0.2975, allocations: 1.451 MB / 0.8457 GB, free: 13.53 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.2975, allocations: 81.11 kB / 0.8458 GB, free: 13.43 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003614/0.2979, allocations: 332.3 kB / 0.8461 GB, free: 13.1 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.2979, allocations: 29.7 kB / 0.8461 GB, free: 13.07 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.2981, allocations: 255.4 kB / 0.8464 GB, free: 12.81 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.371e-05/0.2982, allocations: 98.64 kB / 0.8465 GB, free: 12.71 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.2983, allocations: 94.14 kB / 0.8466 GB, free: 12.61 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2985, allocations: 338.8 kB / 0.8469 GB, free: 12.27 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.2987, allocations: 183 kB / 0.8471 GB, free: 12.09 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/0.2991, allocations: 346 kB / 0.8474 GB, free: 11.68 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006967/0.2998, allocations: 0.5357 MB / 0.8479 GB, free: 11.07 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2998, allocations: 0 / 0.8479 GB, free: 11.07 MB / 0.67 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002336/0.3022, allocations: 0.9083 MB / 0.8488 GB, free: 10.15 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.3022, allocations: 8 kB / 0.8488 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.3022, allocations: 4 kB / 0.8488 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002339/0.3046, allocations: 0.5011 MB / 0.8493 GB, free: 9.633 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.305, allocations: 91.88 kB / 0.8494 GB, free: 9.543 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005835/0.3109, allocations: 4.053 MB / 0.8534 GB, free: 5.215 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000592/0.3115, allocations: 43.86 kB / 0.8534 GB, free: 5.172 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.957e-05/0.3116, allocations: 23.94 kB / 0.8534 GB, free: 5.148 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004921/0.3121, allocations: 305.2 kB / 0.8537 GB, free: 4.844 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003639/0.3125, allocations: 327.9 kB / 0.854 GB, free: 4.449 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006349/0.3131, allocations: 0.5037 MB / 0.8545 GB, free: 3.867 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.859e-06/0.3131, allocations: 0 / 0.8545 GB, free: 3.867 MB / 0.67 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008446/0.314, allocations: 0.528 MB / 0.855 GB, free: 3.332 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.314, allocations: 8.781 kB / 0.855 GB, free: 3.324 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.314, allocations: 4 kB / 0.855 GB, free: 3.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3141, allocations: 15.94 kB / 0.8551 GB, free: 3.305 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/0.3145, allocations: 115.8 kB / 0.8552 GB, free: 3.191 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.3145, allocations: 8 kB / 0.8552 GB, free: 3.184 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003302/0.3148, allocations: 31.83 kB / 0.8552 GB, free: 3.152 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.3149, allocations: 27.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.0002037/0.3151, allocations: 209.8 kB / 0.8554 GB, free: 2.914 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.654e-05/0.3152, allocations: 31.62 kB / 0.8555 GB, free: 2.883 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.3169, allocations: 0.6772 MB / 0.8561 GB, free: 2.188 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.3169, allocations: 8.078 kB / 0.8561 GB, free: 2.18 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3169, allocations: 3.984 kB / 0.8561 GB, free: 2.176 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3169, allocations: 0 / 0.8561 GB, free: 2.176 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009505/0.3179, allocations: 0.6598 MB / 0.8568 GB, free: 1.453 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3179, allocations: 4 kB / 0.8568 GB, free: 1.449 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.3181, allocations: 43.91 kB / 0.8568 GB, free: 1.406 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001512/0.3196, allocations: 397.3 kB / 0.8572 GB, free: 1.012 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.3196, allocations: 8 kB / 0.8572 GB, free: 1.004 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00419/0.3238, allocations: 3.753 MB / 0.8609 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.3239, allocations: 3.984 kB / 0.8609 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.3256, allocations: 0.8247 MB / 0.8617 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.3258, allocations: 144.6 kB / 0.8618 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.327e-05/0.3259, allocations: 4 kB / 0.8618 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.3263, allocations: 39.94 kB / 0.8619 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/0.3264, allocations: 27.91 kB / 0.8619 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.3264, allocations: 8 kB / 0.8619 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002901/0.3267, allocations: 231 kB / 0.8621 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3267, allocations: 0 / 0.8621 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001017/0.3277, allocations: 192 kB / 0.8623 GB, free: 11.46 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.0001965/0.3279, allocations: 107.2 kB / 0.8624 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00178/0.3297, allocations: 0.963 MB / 0.8633 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.3297, allocations: 0 / 0.8633 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007314/0.3305, allocations: 494.4 kB / 0.8638 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005975/0.3311, allocations: 79.36 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.001534/0.3326, allocations: 0.7344 MB / 0.8646 GB, free: 9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005048/0.3332, allocations: 0.847 MB / 0.8654 GB, free: 8.125 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003785/0.3335, allocations: 143.2 kB / 0.8656 GB, free: 7.988 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.829e-05/0.3336, allocations: 27.44 kB / 0.8656 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of SimCode: time 3.8e-07/0.3336, allocations: 0 / 0.8656 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of Templates: time 0.01345/0.3471, allocations: 7.343 MB / 0.8728 GB, free: 0.6523 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)