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.264/1.264, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0008985/0.0008985, allocations: 169.1 kB / 325.8 MB, free: 2.703 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.415/1.415, allocations: 205 MB / 0.576 GB, free: 20.96 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.0008859/0.0008859, allocations: 92.16 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003056/0.0003057, allocations: 14.53 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1765, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.00403/0.1805, allocations: 4.344 MB / 0.9005 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002496/0.1831, allocations: 2.233 MB / 0.9026 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.1832, allocations: 7.938 kB / 0.9026 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.1843, allocations: 0.4984 MB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004018/0.1847, allocations: 246.9 kB / 0.9034 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005515/0.1853, allocations: 321.4 kB / 0.9037 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004706/0.1858, allocations: 0.8064 MB / 0.9045 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004381/0.1862, allocations: 364.2 kB / 0.9048 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.1864, allocations: 191.2 kB / 0.905 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.1867, allocations: 263.1 kB / 0.9052 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.852e-05/0.1867, allocations: 20 kB / 0.9053 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003333/0.1871, allocations: 295.4 kB / 0.9055 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.1872, allocations: 163.6 kB / 0.9057 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.1873, allocations: 186.9 kB / 0.9059 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004226/0.1878, allocations: 0.6267 MB / 0.9065 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1878, allocations: 3.984 kB / 0.9065 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1878, allocations: 0 / 0.9065 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.1878, allocations: 0 / 0.9065 GB, free: 57.54 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.000808/0.1886, allocations: 0.6241 MB / 0.9071 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.1887, allocations: 11.97 kB / 0.9071 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.352e-05/0.1887, allocations: 82.7 kB / 0.9072 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008368/0.1896, allocations: 136.2 kB / 0.9073 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.1899, allocations: 324.5 kB / 0.9076 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.1899, allocations: 29.38 kB / 0.9077 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.359e-05/0.19, allocations: 48.25 kB / 0.9077 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006412/0.1906, allocations: 0.6222 MB / 0.9083 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.1907, allocations: 4 kB / 0.9083 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.1907, allocations: 16 kB / 0.9083 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.343e-05/0.1908, allocations: 40.62 kB / 0.9084 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005588/0.1913, allocations: 482 kB / 0.9088 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002368/0.1937, allocations: 3.428 MB / 0.9122 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005571/0.1943, allocations: 382.1 kB / 0.9125 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.1945, allocations: 174.8 kB / 0.9127 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.1945, allocations: 8 kB / 0.9127 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.1945, allocations: 38.5 kB / 0.9127 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.483e-06/0.1945, allocations: 0 / 0.9127 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26): time 0.004109/0.1987, allocations: 1.464 MB / 0.9142 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.1987, allocations: 77.11 kB / 0.9143 GB, free: 49.03 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.1989, allocations: 332.4 kB / 0.9146 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.199, allocations: 33.7 kB / 0.9146 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.534e-05/0.1991, allocations: 255.3 kB / 0.9148 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.1991, allocations: 94.66 kB / 0.9149 GB, free: 48.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/0.1992, allocations: 45.69 kB / 0.915 GB, free: 48.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.845e-05/0.1992, allocations: 338.8 kB / 0.9153 GB, free: 47.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.1994, allocations: 177 kB / 0.9155 GB, free: 47.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.1997, allocations: 344.9 kB / 0.9158 GB, free: 47.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004884/0.2002, allocations: 0.5357 MB / 0.9163 GB, free: 46.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2002, allocations: 4 kB / 0.9163 GB, free: 46.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002072/0.2023, allocations: 0.9082 MB / 0.9172 GB, free: 45.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.459e-05/0.2024, allocations: 261 kB / 0.9175 GB, free: 45.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2024, allocations: 4 kB / 0.9175 GB, free: 45.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002179/0.2046, allocations: 0.4971 MB / 0.918 GB, free: 44.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/0.2049, allocations: 99.81 kB / 0.918 GB, free: 44.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004298/0.2092, allocations: 3.778 MB / 0.9217 GB, free: 40.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/0.2095, allocations: 35.88 kB / 0.9218 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.2096, allocations: 27.98 kB / 0.9218 GB, free: 40.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.04e-06/0.2096, allocations: 4 kB / 0.9218 GB, free: 40.76 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005458/0.2101, allocations: 479.2 kB / 0.9223 GB, free: 40.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2102, allocations: 4 kB / 0.9223 GB, free: 40.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.68e-06/0.2102, allocations: 11.94 kB / 0.9223 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.2105, allocations: 112.5 kB / 0.9224 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.2105, allocations: 8 kB / 0.9224 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.2108, allocations: 39.83 kB / 0.9224 GB, free: 40.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.2108, allocations: 19.98 kB / 0.9224 GB, free: 40.1 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.0001606/0.211, allocations: 277.5 kB / 0.9227 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.302e-05/0.211, allocations: 35.75 kB / 0.9227 GB, free: 39.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.2126, allocations: 0.6702 MB / 0.9234 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2126, allocations: 4 kB / 0.9234 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.2126, allocations: 7.938 kB / 0.9234 GB, free: 39.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.2126, allocations: 3.984 kB / 0.9234 GB, free: 39.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006541/0.2133, allocations: 0.6442 MB / 0.924 GB, free: 38.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2133, allocations: 4.094 kB / 0.924 GB, free: 38.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.2135, allocations: 47.97 kB / 0.9241 GB, free: 38.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001422/0.2149, allocations: 405.1 kB / 0.9245 GB, free: 37.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.2149, allocations: 8 kB / 0.9245 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002842/0.2178, allocations: 3.478 MB / 0.9279 GB, free: 34.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2178, allocations: 8 kB / 0.9279 GB, free: 34.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.2192, allocations: 0.828 MB / 0.9287 GB, free: 33.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.2194, allocations: 140.6 kB / 0.9288 GB, free: 33.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/0.2194, allocations: 8 kB / 0.9288 GB, free: 33.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003344/0.2198, allocations: 39.94 kB / 0.9289 GB, free: 33.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.354e-05/0.2198, allocations: 19.97 kB / 0.9289 GB, free: 33.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.2199, allocations: 8 kB / 0.9289 GB, free: 33.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001735/0.22, allocations: 235 kB / 0.9291 GB, free: 32.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.22, allocations: 0 / 0.9291 GB, free: 32.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000767/0.2208, allocations: 192 kB / 0.9293 GB, free: 32.66 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.001853/0.2227, allocations: 1.411 MB / 0.9307 GB, free: 31.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001334/0.224, allocations: 0.9562 MB / 0.9316 GB, free: 30.22 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.224, allocations: 7.938 kB / 0.9316 GB, free: 30.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006287/0.2247, allocations: 473.4 kB / 0.9321 GB, free: 29.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005646/0.2253, allocations: 68.98 kB / 0.9321 GB, free: 29.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006373/0.2316, allocations: 4.679 MB / 0.9367 GB, free: 24.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.2319, allocations: 0.847 MB / 0.9375 GB, free: 23.86 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003734/0.2323, allocations: 139.2 kB / 0.9377 GB, free: 23.72 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.2324, allocations: 115.4 kB / 0.9378 GB, free: 23.61 MB / 0.6042 GB Notification: Performance of SimCode: time 1.472e-06/0.2325, allocations: 4 kB / 0.9378 GB, free: 23.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04283/0.2753, allocations: 9.918 MB / 0.9475 GB, free: 13.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/0.2755, allocations: 257.9 kB / 0.9477 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/2.567, allocations: 0 / 0.9477 GB, free: 13.6 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)