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.486/1.486, allocations: 252 MB / 267 MB, free: 10.96 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.001124/0.001124, allocations: 180 kB / 326.6 MB, free: 2.207 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.709/1.709, allocations: 205.4 MB / 0.5777 GB, free: 20.21 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.0007631/0.0007631, allocations: 88.42 kB / 0.6822 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003252, allocations: 9.938 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2072, allocations: 106.3 MB / 0.9003 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.003925/0.2112, allocations: 4.091 MB / 0.9043 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002601/0.2138, allocations: 2.082 MB / 0.9063 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.2141, allocations: 7.938 kB / 0.9063 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.2143, allocations: 63.48 kB / 0.9064 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004868/0.2148, allocations: 223 kB / 0.9066 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007205/0.2155, allocations: 266 kB / 0.9069 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006029/0.2161, allocations: 0.6542 MB / 0.9075 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009293/0.2171, allocations: 0.5969 MB / 0.9081 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.2173, allocations: 187.3 kB / 0.9083 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003612/0.2177, allocations: 263 kB / 0.9085 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.2177, allocations: 16 kB / 0.9085 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003585/0.2181, allocations: 139.8 kB / 0.9087 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.2182, allocations: 155.6 kB / 0.9088 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.649e-05/0.2183, allocations: 101.5 kB / 0.9089 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004949/0.2188, allocations: 483 kB / 0.9094 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.041e-05/0.2189, allocations: 4 kB / 0.9094 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.016e-06/0.219, allocations: 0 / 0.9094 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.219, allocations: 0 / 0.9094 GB, free: 54.39 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.001167/0.2202, allocations: 0.6394 MB / 0.91 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/0.2202, allocations: 8.031 kB / 0.91 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.93e-05/0.2203, allocations: 82.48 kB / 0.9101 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009857/0.2213, allocations: 135.3 kB / 0.9102 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.2218, allocations: 315.3 kB / 0.9105 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/0.2218, allocations: 32.98 kB / 0.9106 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-05/0.2219, allocations: 32 kB / 0.9106 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007864/0.2227, allocations: 0.6298 MB / 0.9112 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.2227, allocations: 4 kB / 0.9112 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.091e-05/0.2228, allocations: 15.98 kB / 0.9112 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.312e-05/0.2228, allocations: 48.58 kB / 0.9113 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006037/0.2235, allocations: 478.1 kB / 0.9117 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/0.226, allocations: 3.421 MB / 0.9151 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005786/0.2266, allocations: 378.6 kB / 0.9154 GB, free: 47.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.2268, allocations: 177.6 kB / 0.9156 GB, free: 47.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.195e-05/0.2269, allocations: 3.984 kB / 0.9156 GB, free: 47.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.2269, allocations: 42.5 kB / 0.9156 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 2.685e-06/0.2269, allocations: 0 / 0.9156 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26): time 0.004338/0.2313, allocations: 1.463 MB / 0.9171 GB, free: 45.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.2313, allocations: 77.11 kB / 0.9171 GB, free: 45.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.2316, allocations: 328.4 kB / 0.9175 GB, free: 45.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.2317, allocations: 25.7 kB / 0.9175 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.2318, allocations: 267.2 kB / 0.9177 GB, free: 45.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.7e-05/0.2318, allocations: 90.73 kB / 0.9178 GB, free: 45.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.512e-05/0.2319, allocations: 12 kB / 0.9178 GB, free: 45.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.663e-05/0.232, allocations: 342.7 kB / 0.9182 GB, free: 44.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.2322, allocations: 177 kB / 0.9183 GB, free: 44.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.2325, allocations: 330.1 kB / 0.9186 GB, free: 44.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.2328, allocations: 231.8 kB / 0.9189 GB, free: 44.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2328, allocations: 4 kB / 0.9189 GB, free: 44.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002012/0.2348, allocations: 0.9047 MB / 0.9198 GB, free: 43.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001499/0.2349, allocations: 253.1 kB / 0.92 GB, free: 42.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.235, allocations: 4 kB / 0.92 GB, free: 42.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002162/0.2371, allocations: 0.5049 MB / 0.9205 GB, free: 42.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.2375, allocations: 95.81 kB / 0.9206 GB, free: 42.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00459/0.2421, allocations: 3.766 MB / 0.9243 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004334/0.2426, allocations: 47.75 kB / 0.9243 GB, free: 38.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.2426, allocations: 28.05 kB / 0.9243 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/0.2426, allocations: 4 kB / 0.9243 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006416/0.2433, allocations: 475.8 kB / 0.9248 GB, free: 37.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.2433, allocations: 7.953 kB / 0.9248 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.362e-06/0.2433, allocations: 8 kB / 0.9248 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/0.2437, allocations: 107.8 kB / 0.9249 GB, free: 37.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.2437, allocations: 11.98 kB / 0.9249 GB, free: 37.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/0.2439, allocations: 35.83 kB / 0.925 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.244, allocations: 20 kB / 0.925 GB, free: 37.41 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 (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.0002293/0.2442, allocations: 277.1 kB / 0.9252 GB, free: 37.13 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.341e-05/0.2443, allocations: 31.62 kB / 0.9253 GB, free: 37.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/0.2458, allocations: 0.6701 MB / 0.9259 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.2458, allocations: 7.953 kB / 0.9259 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2458, allocations: 0 / 0.9259 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2458, allocations: 4 kB / 0.9259 GB, free: 36.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007055/0.2465, allocations: 0.6482 MB / 0.9266 GB, free: 35.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2465, allocations: 4 kB / 0.9266 GB, free: 35.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.2467, allocations: 47.89 kB / 0.9266 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001422/0.2482, allocations: 405.2 kB / 0.927 GB, free: 35.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.2482, allocations: 15.94 kB / 0.927 GB, free: 35.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002927/0.2511, allocations: 3.475 MB / 0.9304 GB, free: 31.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.2512, allocations: 0 / 0.9304 GB, free: 31.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.2527, allocations: 0.828 MB / 0.9312 GB, free: 30.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.2528, allocations: 144.6 kB / 0.9314 GB, free: 30.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.2529, allocations: 11.95 kB / 0.9314 GB, free: 30.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000342/0.2532, allocations: 35.94 kB / 0.9314 GB, free: 30.42 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.486e-05/0.2533, allocations: 35.78 kB / 0.9314 GB, free: 30.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.2533, allocations: 8 kB / 0.9314 GB, free: 30.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001978/0.2535, allocations: 231 kB / 0.9317 GB, free: 30.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2535, allocations: 0 / 0.9317 GB, free: 30.15 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007843/0.2543, allocations: 192 kB / 0.9318 GB, free: 29.96 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 (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.001813/0.2561, allocations: 1.395 MB / 0.9332 GB, free: 28.53 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001413/0.2576, allocations: 0.964 MB / 0.9341 GB, free: 27.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.2576, allocations: 0 / 0.9341 GB, free: 27.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005929/0.2582, allocations: 469.2 kB / 0.9346 GB, free: 27.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005804/0.2588, allocations: 78.92 kB / 0.9347 GB, free: 26.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004144/0.2629, allocations: 2.647 MB / 0.9373 GB, free: 24.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.2632, allocations: 0.847 MB / 0.9381 GB, free: 23.32 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003864/0.2636, allocations: 139.1 kB / 0.9382 GB, free: 23.19 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.2638, allocations: 115.4 kB / 0.9383 GB, free: 23.07 MB / 0.6042 GB Notification: Performance of SimCode: time 1.623e-06/0.2638, allocations: 0 / 0.9383 GB, free: 23.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.2847, allocations: 9.901 MB / 0.948 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/0.2849, allocations: 244.6 kB / 0.9482 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/2.555, allocations: 2.969 kB / 0.9482 GB, free: 13.14 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)