Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.683/1.683, allocations: 292.3 MB / 308.1 MB, free: 4.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001557/0.001557, allocations: 198 kB / 376.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205 MB / 0.6354 GB, free: 9.789 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 99.38 kB / 0.748 GB, free: 61.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 51.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2931, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.008084/0.3012, allocations: 4.665 MB / 0.9868 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004199/0.3055, allocations: 2.233 MB / 0.989 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004181/0.3059, allocations: 7.938 kB / 0.989 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001665/0.3077, allocations: 0.514 MB / 0.9895 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0008486/0.3085, allocations: 247 kB / 0.9897 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.3096, allocations: 315.3 kB / 0.99 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001187/0.3108, allocations: 0.8142 MB / 0.9908 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009686/0.3118, allocations: 372.4 kB / 0.9912 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006439/0.3125, allocations: 199.2 kB / 0.9913 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009595/0.3134, allocations: 291 kB / 0.9916 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.3136, allocations: 28 kB / 0.9917 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007652/0.3144, allocations: 303.4 kB / 0.9919 GB, free: 416 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002768/0.3146, allocations: 167.6 kB / 0.9921 GB, free: 248 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0004253/0.3151, allocations: 214.9 kB / 0.9923 GB, free: 32 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.3164, allocations: 0.6347 MB / 0.9929 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.3164, allocations: 3.938 kB / 0.9929 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3164, allocations: 4 kB / 0.9929 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.076e-05/0.3164, allocations: 0 / 0.9929 GB, free: 15.39 MB / 0.7292 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.002505/0.319, allocations: 0.7097 MB / 0.9936 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.982e-05/0.319, allocations: 8.031 kB / 0.9936 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.3203, allocations: 132.3 kB / 0.9938 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007169/0.3211, allocations: 328.4 kB / 0.9941 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.707e-05/0.3211, allocations: 29.36 kB / 0.9941 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.3212, allocations: 36.38 kB / 0.9941 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.3223, allocations: 0.6225 MB / 0.9947 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.3223, allocations: 3.938 kB / 0.9947 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.301e-05/0.3224, allocations: 23.98 kB / 0.9948 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.855e-05/0.3225, allocations: 40.62 kB / 0.9948 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008502/0.3233, allocations: 478.2 kB / 0.9953 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003915/0.3273, allocations: 3.416 MB / 0.9986 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006613/0.3279, allocations: 380.8 kB / 0.999 GB, free: 8.766 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.3282, allocations: 181.6 kB / 0.9991 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.309e-05/0.3282, allocations: 3.984 kB / 0.9991 GB, free: 8.578 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.3283, allocations: 34.56 kB / 0.9992 GB, free: 8.535 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 2.905e-06/0.3283, allocations: 0 / 0.9992 GB, free: 8.535 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26): time 0.004696/0.333, allocations: 1.463 MB / 1.001 GB, free: 7.023 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.3331, allocations: 77.11 kB / 1.001 GB, free: 6.93 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/0.3335, allocations: 328.4 kB / 1.001 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.3335, allocations: 33.7 kB / 1.001 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.3337, allocations: 255.3 kB / 1.001 GB, free: 6.301 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.828e-05/0.3338, allocations: 102.6 kB / 1.001 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.334, allocations: 90.14 kB / 1.001 GB, free: 6.105 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3341, allocations: 338.8 kB / 1.002 GB, free: 5.766 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.3344, allocations: 183 kB / 1.002 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003961/0.3348, allocations: 346 kB / 1.002 GB, free: 5.176 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006981/0.3355, allocations: 0.5275 MB / 1.003 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.3355, allocations: 8 kB / 1.003 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002343/0.3379, allocations: 0.912 MB / 1.004 GB, free: 3.641 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.3379, allocations: 4 kB / 1.004 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.3379, allocations: 11.98 kB / 1.004 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002379/0.3403, allocations: 0.4974 MB / 1.004 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/0.3408, allocations: 95.81 kB / 1.004 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006358/0.3472, allocations: 3.767 MB / 1.008 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004518/0.3476, allocations: 43.75 kB / 1.008 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.547e-05/0.3477, allocations: 16 kB / 1.008 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004668/0.3482, allocations: 309.1 kB / 1.008 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003443/0.3485, allocations: 331.8 kB / 1.009 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006443/0.3492, allocations: 0.5095 MB / 1.009 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.081e-06/0.3492, allocations: 0 / 1.009 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008811/0.3501, allocations: 0.528 MB / 1.01 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3501, allocations: 8 kB / 1.01 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.3502, allocations: 8 kB / 1.01 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.3502, allocations: 8 kB / 1.01 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003932/0.3506, allocations: 112.5 kB / 1.01 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.3506, allocations: 11.94 kB / 1.01 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.3509, allocations: 39.81 kB / 1.01 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.351, allocations: 20 kB / 1.01 GB, free: 12.89 MB / 0.7448 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.0002025/0.3512, allocations: 216.6 kB / 1.01 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.3513, allocations: 31.62 kB / 1.01 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.3531, allocations: 0.6658 MB / 1.011 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.505e-05/0.3531, allocations: 7.984 kB / 1.011 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3532, allocations: 0 / 1.011 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.3532, allocations: 0 / 1.011 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.3543, allocations: 0.6675 MB / 1.011 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3543, allocations: 4.094 kB / 1.011 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.3545, allocations: 43.95 kB / 1.011 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001571/0.3561, allocations: 401.2 kB / 1.012 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/0.3562, allocations: 8 kB / 1.012 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004075/0.3602, allocations: 3.478 MB / 1.015 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3603, allocations: 0 / 1.015 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002312/0.3626, allocations: 1.612 MB / 1.017 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002317/0.3628, allocations: 128.7 kB / 1.017 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.5e-05/0.3629, allocations: 11.98 kB / 1.017 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.3632, allocations: 31.95 kB / 1.017 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.44e-05/0.3633, allocations: 31.84 kB / 1.017 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.3634, allocations: 15.98 kB / 1.017 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002784/0.3637, allocations: 223.1 kB / 1.017 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3637, allocations: 4 kB / 1.017 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001152/0.3648, allocations: 192 kB / 1.017 GB, free: 4.691 MB / 0.7448 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.0002045/0.365, allocations: 115.1 kB / 1.018 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001842/0.3669, allocations: 0.9607 MB / 1.018 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.3669, allocations: 0 / 1.018 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007598/0.3677, allocations: 485.2 kB / 1.019 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006324/0.3683, allocations: 79.75 kB / 1.019 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.3701, allocations: 1.116 MB / 1.02 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005472/0.3706, allocations: 0.8509 MB / 1.021 GB, free: 0.9648 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004416/0.3711, allocations: 143.2 kB / 1.021 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.401e-05/0.3712, allocations: 27.44 kB / 1.021 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of SimCode: time 8.92e-07/0.3712, allocations: 0 / 1.021 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of Templates: time 0.517/0.8882, allocations: 7.086 MB / 1.028 GB, free: 96.86 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)