Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.793/1.793, allocations: 288.4 MB / 303.3 MB, free: 8.184 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.001122/0.001122, allocations: 180.5 kB / 372 MB, free: 10.3 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.607/1.607, allocations: 205.4 MB / 0.6307 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009134/0.0009134, allocations: 93.08 kB / 0.7441 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004993/0.0004995, allocations: 15.25 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2395, allocations: 115.3 MB / 0.9796 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.00475/0.2443, allocations: 4.095 MB / 0.9836 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003131/0.2474, allocations: 2.078 MB / 0.9857 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003446/0.2478, allocations: 4 kB / 0.9857 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.2482, allocations: 63.48 kB / 0.9857 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007462/0.2489, allocations: 215 kB / 0.9859 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008821/0.2498, allocations: 275.3 kB / 0.9862 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006867/0.2505, allocations: 0.6464 MB / 0.9868 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.2517, allocations: 0.6127 MB / 0.9874 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003434/0.252, allocations: 187.3 kB / 0.9876 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003868/0.2524, allocations: 255.1 kB / 0.9879 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.483e-05/0.2525, allocations: 16 kB / 0.9879 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003583/0.2528, allocations: 143.8 kB / 0.988 GB, free: 19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.253, allocations: 151.6 kB / 0.9882 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.663e-05/0.253, allocations: 105.5 kB / 0.9883 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003923/0.2534, allocations: 486.7 kB / 0.9887 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2535, allocations: 3.938 kB / 0.9887 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2535, allocations: 0 / 0.9887 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.2535, allocations: 0 / 0.9887 GB, free: 18.27 MB / 0.6198 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.0009566/0.2544, allocations: 0.6355 MB / 0.9893 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.2545, allocations: 8.031 kB / 0.9894 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.368e-05/0.2546, allocations: 78.52 kB / 0.9894 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009105/0.2555, allocations: 147.2 kB / 0.9896 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.2559, allocations: 315.3 kB / 0.9899 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.2559, allocations: 29 kB / 0.9899 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.318e-05/0.256, allocations: 35.89 kB / 0.9899 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00073/0.2567, allocations: 0.6221 MB / 0.9905 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.2567, allocations: 4 kB / 0.9905 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.233e-05/0.2568, allocations: 12 kB / 0.9906 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.327e-05/0.2569, allocations: 48.62 kB / 0.9906 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005671/0.2574, allocations: 478 kB / 0.9911 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002614/0.2601, allocations: 3.417 MB / 0.9944 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005752/0.2607, allocations: 380.9 kB / 0.9948 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.2609, allocations: 173.6 kB / 0.9949 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.2609, allocations: 4.406 kB / 0.9949 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.2609, allocations: 34.56 kB / 0.995 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 2.575e-06/0.2609, allocations: 4 kB / 0.995 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.004424/0.2654, allocations: 1.46 MB / 0.9964 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.2654, allocations: 85.11 kB / 0.9965 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.2658, allocations: 324.3 kB / 0.9968 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.2658, allocations: 29.7 kB / 0.9968 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.2659, allocations: 263.3 kB / 0.9971 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/0.266, allocations: 94.59 kB / 0.9972 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/0.266, allocations: 12 kB / 0.9972 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.368e-05/0.2661, allocations: 338.8 kB / 0.9975 GB, free: 8.711 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.2663, allocations: 177 kB / 0.9977 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003186/0.2667, allocations: 345 kB / 0.998 GB, free: 8.129 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.267, allocations: 223.9 kB / 0.9982 GB, free: 7.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.267, allocations: 4 kB / 0.9982 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002076/0.2691, allocations: 0.9042 MB / 0.9991 GB, free: 6.988 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001514/0.2692, allocations: 253.3 kB / 0.9993 GB, free: 6.664 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.2692, allocations: 4 kB / 0.9993 GB, free: 6.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002247/0.2715, allocations: 0.501 MB / 0.9998 GB, free: 6.152 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.2719, allocations: 95.81 kB / 0.9999 GB, free: 6.059 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004481/0.2764, allocations: 3.788 MB / 1.004 GB, free: 2.004 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/0.2768, allocations: 39.81 kB / 1.004 GB, free: 1.965 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.2768, allocations: 16 kB / 1.004 GB, free: 1.949 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/0.2768, allocations: 4 kB / 1.004 GB, free: 1.945 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005856/0.2774, allocations: 487.2 kB / 1.004 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2774, allocations: 4 kB / 1.004 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.173e-06/0.2775, allocations: 12.67 kB / 1.004 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.2778, allocations: 111.8 kB / 1.004 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2778, allocations: 12 kB / 1.004 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.2781, allocations: 31.81 kB / 1.004 GB, free: 1.301 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.2781, allocations: 24 kB / 1.004 GB, free: 1.277 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.000213/0.2783, allocations: 270.3 kB / 1.005 GB, free: 1.004 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/0.2784, allocations: 31.62 kB / 1.005 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.28, allocations: 0.6822 MB / 1.005 GB, free: 288 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.28, allocations: 4 kB / 1.005 GB, free: 284 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.28, allocations: 3.953 kB / 1.005 GB, free: 280 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.28, allocations: 0 / 1.005 GB, free: 280 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008722/0.2809, allocations: 0.6559 MB / 1.006 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2809, allocations: 4.031 kB / 1.006 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.2811, allocations: 47.91 kB / 1.006 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001651/0.2828, allocations: 405.2 kB / 1.006 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.2828, allocations: 7.953 kB / 1.006 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003964/0.2868, allocations: 3.478 MB / 1.01 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.2868, allocations: 0 / 1.01 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.2886, allocations: 0.8186 MB / 1.011 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/0.2888, allocations: 148.6 kB / 1.011 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.57e-05/0.2889, allocations: 11.95 kB / 1.011 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003816/0.2893, allocations: 35.94 kB / 1.011 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/0.2894, allocations: 31.84 kB / 1.011 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.2894, allocations: 8 kB / 1.011 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003027/0.2897, allocations: 227 kB / 1.011 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2897, allocations: 0 / 1.011 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001076/0.2908, allocations: 192 kB / 1.011 GB, free: 9.832 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002328/0.2931, allocations: 1.394 MB / 1.013 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001738/0.2949, allocations: 0.9491 MB / 1.013 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2949, allocations: 0 / 1.013 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007268/0.2956, allocations: 477.4 kB / 1.014 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006368/0.2963, allocations: 74.03 kB / 1.014 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004773/0.3011, allocations: 2.659 MB / 1.017 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.3015, allocations: 0.8472 MB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004521/0.302, allocations: 147 kB / 1.018 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.3022, allocations: 115.4 kB / 1.018 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of SimCode: time 1.052e-06/0.3022, allocations: 0 / 1.018 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.3266, allocations: 9.896 MB / 1.027 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.3268, allocations: 240.7 kB / 1.028 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.328/2.654, allocations: 4.062 kB / 1.028 GB, free: 9.016 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)