Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.294/2.294, allocations: 391.2 MB / 407 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 199.4 kB / 499.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 0.7948 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001222, allocations: 99.73 kB / 0.9329 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 50.12 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.298, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.005281/0.3033, allocations: 4.663 MB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002683/0.3061, allocations: 2.217 MB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.3062, allocations: 11.94 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.3073, allocations: 0.5061 MB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.000394/0.3077, allocations: 246.9 kB / 1.226 GB, free: 109.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/0.3083, allocations: 323.1 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0004811/0.3088, allocations: 0.8103 MB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00043/0.3092, allocations: 370.2 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.3094, allocations: 203.2 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003115/0.3098, allocations: 287.1 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.3098, allocations: 24 kB / 1.228 GB, free: 107.6 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003486/0.3102, allocations: 307.4 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.3103, allocations: 175.6 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.3104, allocations: 199 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004387/0.3109, allocations: 0.6463 MB / 1.229 GB, free: 106.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3109, allocations: 4 kB / 1.229 GB, free: 106.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.11e-07/0.3109, allocations: 0 / 1.229 GB, free: 106.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3109, allocations: 0 / 1.229 GB, free: 106.3 MB / 0.823 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.0009053/0.3118, allocations: 0.7059 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.3119, allocations: 15.98 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008474/0.3127, allocations: 144.2 kB / 1.23 GB, free: 105.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.3131, allocations: 326.3 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.3131, allocations: 29.38 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-05/0.3132, allocations: 40.36 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006723/0.3138, allocations: 0.6186 MB / 1.231 GB, free: 104.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.3139, allocations: 3.938 kB / 1.231 GB, free: 104.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.3139, allocations: 16 kB / 1.231 GB, free: 104.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.468e-05/0.314, allocations: 44.62 kB / 1.231 GB, free: 104.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005589/0.3146, allocations: 482.1 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/0.317, allocations: 3.416 MB / 1.234 GB, free: 100 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005495/0.3176, allocations: 380.9 kB / 1.235 GB, free: 99.63 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.3178, allocations: 174 kB / 1.235 GB, free: 99.45 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.3178, allocations: 0 / 1.235 GB, free: 99.45 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.3178, allocations: 50.3 kB / 1.235 GB, free: 99.39 MB / 0.823 GB Notification: Performance of pre-optimization done (n=25): time 1.162e-06/0.3179, allocations: 0 / 1.235 GB, free: 99.39 MB / 0.823 GB Notification: Performance of matching and sorting (n=26): time 0.004032/0.3219, allocations: 1.453 MB / 1.236 GB, free: 97.89 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.3219, allocations: 81.09 kB / 1.237 GB, free: 97.79 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.3222, allocations: 328.3 kB / 1.237 GB, free: 97.46 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.3222, allocations: 33.69 kB / 1.237 GB, free: 97.42 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.165e-05/0.3223, allocations: 259.4 kB / 1.237 GB, free: 97.16 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/0.3224, allocations: 98.64 kB / 1.237 GB, free: 97.06 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.3225, allocations: 90.16 kB / 1.237 GB, free: 96.96 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.134e-05/0.3226, allocations: 342.8 kB / 1.238 GB, free: 96.62 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.3228, allocations: 183 kB / 1.238 GB, free: 96.44 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.3231, allocations: 338.1 kB / 1.238 GB, free: 96.04 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004789/0.3236, allocations: 0.5371 MB / 1.239 GB, free: 95.43 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3236, allocations: 8 kB / 1.239 GB, free: 95.42 MB / 0.823 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001959/0.3255, allocations: 0.9081 MB / 1.24 GB, free: 94.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3256, allocations: 4 kB / 1.24 GB, free: 94.49 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.3256, allocations: 8 kB / 1.24 GB, free: 94.48 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002103/0.3277, allocations: 0.4974 MB / 1.24 GB, free: 93.98 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003283/0.328, allocations: 99.81 kB / 1.24 GB, free: 93.88 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004299/0.3323, allocations: 3.771 MB / 1.244 GB, free: 89.84 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003651/0.3327, allocations: 35.81 kB / 1.244 GB, free: 89.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.3328, allocations: 27.98 kB / 1.244 GB, free: 89.78 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003105/0.3331, allocations: 301.1 kB / 1.244 GB, free: 89.48 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002342/0.3333, allocations: 335.8 kB / 1.245 GB, free: 89.07 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004452/0.3338, allocations: 0.5072 MB / 1.245 GB, free: 88.49 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.575e-06/0.3338, allocations: 0 / 1.245 GB, free: 88.49 MB / 0.823 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0005812/0.3344, allocations: 0.5241 MB / 1.246 GB, free: 87.96 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.3344, allocations: 9.25 kB / 1.246 GB, free: 87.95 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3344, allocations: 4 kB / 1.246 GB, free: 87.95 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.201e-06/0.3344, allocations: 12.72 kB / 1.246 GB, free: 87.93 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/0.3348, allocations: 107.8 kB / 1.246 GB, free: 87.83 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3348, allocations: 15.94 kB / 1.246 GB, free: 87.81 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.335, allocations: 35.88 kB / 1.246 GB, free: 87.78 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.3351, allocations: 20 kB / 1.246 GB, free: 87.76 MB / 0.823 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.0001076/0.3352, allocations: 213.8 kB / 1.246 GB, free: 87.54 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.28e-05/0.3353, allocations: 35.61 kB / 1.246 GB, free: 87.51 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.3367, allocations: 0.6657 MB / 1.247 GB, free: 86.83 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3367, allocations: 7.938 kB / 1.247 GB, free: 86.82 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.3367, allocations: 0 / 1.247 GB, free: 86.82 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3367, allocations: 3.984 kB / 1.247 GB, free: 86.82 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000703/0.3374, allocations: 0.6597 MB / 1.247 GB, free: 86.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3374, allocations: 4.094 kB / 1.247 GB, free: 86.09 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.3376, allocations: 39.97 kB / 1.247 GB, free: 86.05 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001332/0.3389, allocations: 401.1 kB / 1.248 GB, free: 85.66 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.339, allocations: 8 kB / 1.248 GB, free: 85.65 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002725/0.3417, allocations: 3.482 MB / 1.251 GB, free: 81.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3417, allocations: 0 / 1.251 GB, free: 81.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.3434, allocations: 1.614 MB / 1.253 GB, free: 80.21 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.3435, allocations: 144.6 kB / 1.253 GB, free: 80.05 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.3436, allocations: 8 kB / 1.253 GB, free: 80.04 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003172/0.3439, allocations: 35.94 kB / 1.253 GB, free: 80.01 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/0.344, allocations: 27.91 kB / 1.253 GB, free: 79.98 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.344, allocations: 8 kB / 1.253 GB, free: 79.97 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001591/0.3441, allocations: 231 kB / 1.253 GB, free: 79.75 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3441, allocations: 0 / 1.253 GB, free: 79.75 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008963/0.345, allocations: 196 kB / 1.253 GB, free: 79.55 MB / 0.823 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.000111/0.3452, allocations: 107.2 kB / 1.253 GB, free: 79.44 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.3464, allocations: 0.9562 MB / 1.254 GB, free: 78.46 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.3464, allocations: 4.125 kB / 1.254 GB, free: 78.46 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005382/0.3469, allocations: 481 kB / 1.255 GB, free: 77.96 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.3475, allocations: 71.89 kB / 1.255 GB, free: 77.89 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.3485, allocations: 1.118 MB / 1.256 GB, free: 76.73 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.3487, allocations: 0.8587 MB / 1.257 GB, free: 75.84 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003518/0.3491, allocations: 135.2 kB / 1.257 GB, free: 75.71 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.647e-05/0.3492, allocations: 35.42 kB / 1.257 GB, free: 75.68 MB / 0.823 GB Notification: Performance of SimCode: time 2e-07/0.3492, allocations: 0 / 1.257 GB, free: 75.68 MB / 0.823 GB Notification: Performance of Templates: time 0.008576/0.3578, allocations: 7.096 MB / 1.264 GB, free: 68.61 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)