Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.412/1.412, allocations: 251.9 MB / 266.8 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001407/0.001407, allocations: 177.6 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.825/1.825, allocations: 205.4 MB / 0.5775 GB, free: 20.49 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009792/0.0009793, allocations: 99.53 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.0004108, allocations: 11.47 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2909, allocations: 106.3 MB / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8462/1.137, allocations: 166.7 MB / 1.063 GB, free: 64.27 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000422/1.138, allocations: 101.2 kB / 1.063 GB, free: 64.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06714/1.205, allocations: 24.43 MB / 1.087 GB, free: 62.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.974e-06/1.205, allocations: 3.938 kB / 1.087 GB, free: 62.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.659e-05/1.205, allocations: 7.906 kB / 1.087 GB, free: 62.05 MB / 0.698 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.001778/1.207, allocations: 0.6671 MB / 1.088 GB, free: 61.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/1.207, allocations: 11.72 kB / 1.088 GB, free: 61.55 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002262/1.207, allocations: 86.36 kB / 1.088 GB, free: 61.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/1.208, allocations: 140.8 kB / 1.088 GB, free: 61.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006386/1.209, allocations: 328.3 kB / 1.088 GB, free: 61.24 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/1.209, allocations: 23.94 kB / 1.088 GB, free: 61.24 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/1.209, allocations: 45.58 kB / 1.088 GB, free: 61.24 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/1.21, allocations: 0.6144 MB / 1.089 GB, free: 61.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/1.21, allocations: 0 / 1.089 GB, free: 61.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.541e-05/1.21, allocations: 14.22 kB / 1.089 GB, free: 61.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-05/1.21, allocations: 27.17 kB / 1.089 GB, free: 61.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007743/1.211, allocations: 476.8 kB / 1.089 GB, free: 61.03 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003539/1.215, allocations: 3.441 MB / 1.093 GB, free: 58.49 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006298/1.215, allocations: 371.1 kB / 1.093 GB, free: 58.44 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.74e-05/1.215, allocations: 7.859 kB / 1.093 GB, free: 58.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/1.215, allocations: 42.03 kB / 1.093 GB, free: 58.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.883e-06/1.215, allocations: 0 / 1.093 GB, free: 58.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.003365/1.219, allocations: 1.299 MB / 1.094 GB, free: 58.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/1.219, allocations: 77.11 kB / 1.094 GB, free: 57.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000313/1.219, allocations: 291.2 kB / 1.095 GB, free: 57.83 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/1.219, allocations: 29.52 kB / 1.095 GB, free: 57.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/1.219, allocations: 257.7 kB / 1.095 GB, free: 57.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.257e-05/1.219, allocations: 99.03 kB / 1.095 GB, free: 57.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/1.219, allocations: 7.75 kB / 1.095 GB, free: 57.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.136e-05/1.22, allocations: 338.2 kB / 1.095 GB, free: 57.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/1.22, allocations: 181.5 kB / 1.095 GB, free: 57.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/1.22, allocations: 338.2 kB / 1.096 GB, free: 57.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/1.22, allocations: 222.5 kB / 1.096 GB, free: 57.03 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.22, allocations: 3.938 kB / 1.096 GB, free: 57.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001817/1.222, allocations: 0.8491 MB / 1.097 GB, free: 56.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006993/1.223, allocations: 2.099 MB / 1.099 GB, free: 54.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-05/1.223, allocations: 11.09 kB / 1.099 GB, free: 54.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001629/1.225, allocations: 412.8 kB / 1.099 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/1.225, allocations: 98.97 kB / 1.099 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009524/1.226, allocations: 1.252 MB / 1.101 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/1.227, allocations: 41.05 kB / 1.101 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/1.227, allocations: 19.38 kB / 1.101 GB, free: 53.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/1.227, allocations: 3.812 kB / 1.101 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000642/1.227, allocations: 480.8 kB / 1.101 GB, free: 53.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.227, allocations: 7.906 kB / 1.101 GB, free: 53.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.166e-06/1.227, allocations: 15.75 kB / 1.101 GB, free: 53.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/1.228, allocations: 109 kB / 1.101 GB, free: 53.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/1.228, allocations: 11.78 kB / 1.101 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/1.228, allocations: 36.81 kB / 1.101 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/1.228, allocations: 19.16 kB / 1.101 GB, free: 53.55 MB / 0.698 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.0003768/1.228, allocations: 269.6 kB / 1.102 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/1.229, allocations: 35.2 kB / 1.102 GB, free: 53.33 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/1.23, allocations: 0.6749 MB / 1.102 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.515e-06/1.23, allocations: 3.906 kB / 1.102 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/1.23, allocations: 4 kB / 1.102 GB, free: 53.24 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/1.23, allocations: 0 / 1.102 GB, free: 53.24 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/1.231, allocations: 0.658 MB / 1.103 GB, free: 52.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/1.231, allocations: 7.172 kB / 1.103 GB, free: 52.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/1.232, allocations: 41.47 kB / 1.103 GB, free: 52.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001442/1.233, allocations: 404.8 kB / 1.103 GB, free: 52.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/1.233, allocations: 7.875 kB / 1.103 GB, free: 52.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003498/1.237, allocations: 3.554 MB / 1.107 GB, free: 50.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.237, allocations: 5.641 kB / 1.107 GB, free: 50.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/1.238, allocations: 0.8646 MB / 1.108 GB, free: 49.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/1.239, allocations: 142.7 kB / 1.108 GB, free: 49.88 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.985e-05/1.239, allocations: 6.125 kB / 1.108 GB, free: 49.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003574/1.239, allocations: 38.2 kB / 1.108 GB, free: 49.88 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.589e-05/1.239, allocations: 28.25 kB / 1.108 GB, free: 49.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/1.239, allocations: 18.92 kB / 1.108 GB, free: 49.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002574/1.239, allocations: 220.7 kB / 1.108 GB, free: 49.78 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.239, allocations: 0 / 1.108 GB, free: 49.78 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009958/1.24, allocations: 197.4 kB / 1.108 GB, free: 49.77 MB / 0.698 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.002101/1.242, allocations: 1.658 MB / 1.11 GB, free: 48.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001448/1.244, allocations: 0.7234 MB / 1.111 GB, free: 48.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/1.244, allocations: 0 / 1.111 GB, free: 48.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000695/1.245, allocations: 480.4 kB / 1.111 GB, free: 48.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000467/1.245, allocations: 71.22 kB / 1.111 GB, free: 48.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005511/1.251, allocations: 6.059 MB / 1.117 GB, free: 43.97 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/1.251, allocations: 0.851 MB / 1.118 GB, free: 43.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004372/1.252, allocations: 135.6 kB / 1.118 GB, free: 43.25 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/1.252, allocations: 117.5 kB / 1.118 GB, free: 43.25 MB / 0.698 GB Notification: Performance of SimCode: time 6.332e-06/1.252, allocations: 0 / 1.118 GB, free: 43.25 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/1.282, allocations: 8.945 MB / 1.127 GB, free: 42.64 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/1.282, allocations: 235 kB / 1.127 GB, free: 42.41 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.316/3.598, allocations: 4 kB / 1.127 GB, free: 42.4 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)