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.528/1.528, allocations: 252 MB / 267.3 MB, free: 10.85 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.001148/0.001148, allocations: 174.4 kB / 327 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.067/2.067, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0008516/0.0008514, allocations: 80.27 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004287/0.0004289, allocations: 9.531 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2267, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.004531/0.2312, allocations: 4.276 MB / 0.9051 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003131/0.2344, allocations: 2.198 MB / 0.9073 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003758/0.2348, allocations: 8 kB / 0.9073 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.2352, allocations: 71.42 kB / 0.9073 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007606/0.2359, allocations: 246.9 kB / 0.9076 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009354/0.2369, allocations: 312.9 kB / 0.9079 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007829/0.2377, allocations: 0.8141 MB / 0.9087 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.2388, allocations: 0.6402 MB / 0.9093 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003809/0.2392, allocations: 191.2 kB / 0.9095 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005358/0.2398, allocations: 263 kB / 0.9097 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.906e-05/0.2399, allocations: 16 kB / 0.9097 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005499/0.2404, allocations: 295.5 kB / 0.91 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.2406, allocations: 159.5 kB / 0.9102 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.2408, allocations: 216.6 kB / 0.9104 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007685/0.2416, allocations: 0.6309 MB / 0.911 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2416, allocations: 0 / 0.911 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2416, allocations: 0 / 0.911 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.539e-05/0.2417, allocations: 0 / 0.911 GB, free: 53.05 MB / 0.6042 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.00129/0.243, allocations: 0.6202 MB / 0.9116 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/0.243, allocations: 12.03 kB / 0.9116 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/0.2432, allocations: 78.66 kB / 0.9117 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.2443, allocations: 152.2 kB / 0.9118 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005637/0.2449, allocations: 320.5 kB / 0.9121 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.004e-05/0.245, allocations: 29.36 kB / 0.9122 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.536e-05/0.2451, allocations: 40.28 kB / 0.9122 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009546/0.246, allocations: 0.6261 MB / 0.9128 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.406e-05/0.2461, allocations: 0 / 0.9128 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.293e-05/0.2461, allocations: 16 kB / 0.9128 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.004e-05/0.2462, allocations: 48.56 kB / 0.9129 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006937/0.2469, allocations: 482.1 kB / 0.9133 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003265/0.2502, allocations: 3.42 MB / 0.9167 GB, free: 46.78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005953/0.2508, allocations: 385.3 kB / 0.917 GB, free: 46.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.251, allocations: 173.6 kB / 0.9172 GB, free: 46.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.2511, allocations: 7.984 kB / 0.9172 GB, free: 46.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.2511, allocations: 38.56 kB / 0.9172 GB, free: 46.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.873e-06/0.2511, allocations: 4 kB / 0.9172 GB, free: 46.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26): time 0.004149/0.2553, allocations: 1.455 MB / 0.9187 GB, free: 44.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.2553, allocations: 81.11 kB / 0.9187 GB, free: 44.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.2556, allocations: 332.3 kB / 0.9191 GB, free: 44.22 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.2557, allocations: 29.7 kB / 0.9191 GB, free: 44.19 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.2558, allocations: 255.3 kB / 0.9193 GB, free: 43.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.152e-05/0.2558, allocations: 106.6 kB / 0.9194 GB, free: 43.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.2559, allocations: 4 kB / 0.9194 GB, free: 43.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.915e-05/0.256, allocations: 342.8 kB / 0.9198 GB, free: 43.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.2562, allocations: 181 kB / 0.9199 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/0.2565, allocations: 338.1 kB / 0.9203 GB, free: 42.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005135/0.257, allocations: 0.5357 MB / 0.9208 GB, free: 42.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.257, allocations: 4 kB / 0.9208 GB, free: 42.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002027/0.2591, allocations: 0.912 MB / 0.9217 GB, free: 41.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.2592, allocations: 257.2 kB / 0.9219 GB, free: 41.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.2592, allocations: 4 kB / 0.9219 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002127/0.2614, allocations: 0.5049 MB / 0.9224 GB, free: 40.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.2617, allocations: 99.81 kB / 0.9225 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004524/0.2663, allocations: 3.776 MB / 0.9262 GB, free: 36.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003958/0.2667, allocations: 39.88 kB / 0.9262 GB, free: 36.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.2667, allocations: 19.98 kB / 0.9263 GB, free: 36.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/0.2667, allocations: 4 kB / 0.9263 GB, free: 36.31 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006014/0.2674, allocations: 483.8 kB / 0.9267 GB, free: 35.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2674, allocations: 8.156 kB / 0.9267 GB, free: 35.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.933e-06/0.2674, allocations: 11.94 kB / 0.9267 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003583/0.2678, allocations: 107.8 kB / 0.9268 GB, free: 35.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.2678, allocations: 11.98 kB / 0.9269 GB, free: 35.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.2681, allocations: 27.83 kB / 0.9269 GB, free: 35.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.2681, allocations: 31.92 kB / 0.9269 GB, free: 35.64 MB / 0.6042 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.0002227/0.2683, allocations: 267.5 kB / 0.9272 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.411e-05/0.2684, allocations: 31.62 kB / 0.9272 GB, free: 35.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.2699, allocations: 0.6774 MB / 0.9279 GB, free: 34.65 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.2699, allocations: 4 kB / 0.9279 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2699, allocations: 3.938 kB / 0.9279 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.2699, allocations: 0 / 0.9279 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007858/0.2707, allocations: 0.6598 MB / 0.9285 GB, free: 33.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2707, allocations: 3.984 kB / 0.9285 GB, free: 33.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.2709, allocations: 47.91 kB / 0.9286 GB, free: 33.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/0.2723, allocations: 405.3 kB / 0.929 GB, free: 33.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.2724, allocations: 4 kB / 0.929 GB, free: 33.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003032/0.2754, allocations: 3.482 MB / 0.9324 GB, free: 29.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2754, allocations: 3.984 kB / 0.9324 GB, free: 29.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.2769, allocations: 0.8298 MB / 0.9332 GB, free: 28.85 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.2771, allocations: 144.6 kB / 0.9333 GB, free: 28.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/0.2771, allocations: 4 kB / 0.9333 GB, free: 28.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003434/0.2775, allocations: 39.94 kB / 0.9334 GB, free: 28.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/0.2776, allocations: 23.91 kB / 0.9334 GB, free: 28.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.2776, allocations: 8 kB / 0.9334 GB, free: 28.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002225/0.2778, allocations: 235 kB / 0.9336 GB, free: 28.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2778, allocations: 0 / 0.9336 GB, free: 28.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008969/0.2787, allocations: 192 kB / 0.9338 GB, free: 28.2 MB / 0.6042 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.001854/0.2806, allocations: 1.411 MB / 0.9352 GB, free: 26.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00148/0.2821, allocations: 0.9599 MB / 0.9361 GB, free: 25.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.2821, allocations: 4.25 kB / 0.9361 GB, free: 25.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006341/0.2828, allocations: 469.2 kB / 0.9366 GB, free: 25.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005774/0.2833, allocations: 70.55 kB / 0.9366 GB, free: 25.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00667/0.29, allocations: 4.705 MB / 0.9412 GB, free: 20.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.2904, allocations: 0.847 MB / 0.942 GB, free: 19.38 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004542/0.2908, allocations: 135.1 kB / 0.9422 GB, free: 19.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.291, allocations: 115.4 kB / 0.9423 GB, free: 19.13 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/0.291, allocations: 0 / 0.9423 GB, free: 19.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.3142, allocations: 9.911 MB / 0.952 GB, free: 9.453 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.3144, allocations: 258.6 kB / 0.9522 GB, free: 9.141 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.427/2.742, allocations: 2.391 kB / 0.9522 GB, free: 9.141 MB / 0.6042 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)