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.421/1.421, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001617/0.001617, allocations: 170.9 kB / 326.5 MB, free: 2.246 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.911/1.911, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008611/0.0008611, allocations: 98.34 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003263, allocations: 6.594 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2079, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.004063/0.212, allocations: 4.01 MB / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002716/0.2148, allocations: 2.059 MB / 0.9061 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000274/0.2151, allocations: 7.938 kB / 0.9061 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.2153, allocations: 67.59 kB / 0.9062 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005869/0.2159, allocations: 191.3 kB / 0.9063 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006928/0.2167, allocations: 263.4 kB / 0.9066 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004409/0.2171, allocations: 323.3 kB / 0.9069 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.2181, allocations: 0.6067 MB / 0.9075 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.2184, allocations: 159.5 kB / 0.9076 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.2187, allocations: 179.3 kB / 0.9078 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.2188, allocations: 16 kB / 0.9078 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003103/0.2191, allocations: 139.8 kB / 0.908 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.2192, allocations: 147.6 kB / 0.9081 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.509e-05/0.2193, allocations: 93.52 kB / 0.9082 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004155/0.2197, allocations: 494.9 kB / 0.9087 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.2197, allocations: 0 / 0.9087 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2197, allocations: 0 / 0.9087 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.2198, allocations: 0 / 0.9087 GB, free: 55.08 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.0009179/0.2207, allocations: 0.6239 MB / 0.9093 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2207, allocations: 12.03 kB / 0.9093 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.657e-05/0.2208, allocations: 86.41 kB / 0.9094 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009271/0.2217, allocations: 159.3 kB / 0.9095 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.2221, allocations: 307.4 kB / 0.9098 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.2222, allocations: 29 kB / 0.9098 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.623e-05/0.2222, allocations: 35.98 kB / 0.9099 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006798/0.2229, allocations: 0.622 MB / 0.9105 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.2229, allocations: 4 kB / 0.9105 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.052e-05/0.223, allocations: 12 kB / 0.9105 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.226e-05/0.2231, allocations: 44.58 kB / 0.9105 GB, free: 53 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005712/0.2236, allocations: 486.1 kB / 0.911 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00247/0.2261, allocations: 3.413 MB / 0.9143 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005491/0.2267, allocations: 393 kB / 0.9147 GB, free: 48.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.2267, allocations: 7.938 kB / 0.9147 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.2267, allocations: 38.56 kB / 0.9147 GB, free: 48.37 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.2267, allocations: 0 / 0.9147 GB, free: 48.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26): time 0.00396/0.2307, allocations: 1.451 MB / 0.9162 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.2308, allocations: 81.11 kB / 0.9162 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.231, allocations: 328.4 kB / 0.9166 GB, free: 46.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.231, allocations: 29.7 kB / 0.9166 GB, free: 46.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.04e-05/0.2311, allocations: 263.2 kB / 0.9168 GB, free: 46.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.857e-05/0.2312, allocations: 94.75 kB / 0.9169 GB, free: 46.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.2312, allocations: 4 kB / 0.9169 GB, free: 46.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.98e-05/0.2313, allocations: 346.8 kB / 0.9173 GB, free: 45.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.2315, allocations: 177 kB / 0.9174 GB, free: 45.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.2318, allocations: 334.1 kB / 0.9177 GB, free: 45.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.232, allocations: 223.9 kB / 0.918 GB, free: 44.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.2321, allocations: 7.984 kB / 0.918 GB, free: 44.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001921/0.234, allocations: 0.909 MB / 0.9189 GB, free: 43.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000298/0.2343, allocations: 2.091 MB / 0.9209 GB, free: 41.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.2343, allocations: 8 kB / 0.9209 GB, free: 41.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002038/0.2364, allocations: 0.501 MB / 0.9214 GB, free: 41.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.2367, allocations: 95.81 kB / 0.9215 GB, free: 41.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004361/0.2411, allocations: 3.861 MB / 0.9253 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/0.2415, allocations: 39.81 kB / 0.9253 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.2415, allocations: 20 kB / 0.9253 GB, free: 36.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.804e-06/0.2415, allocations: 4 kB / 0.9253 GB, free: 36.92 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005668/0.2421, allocations: 479.2 kB / 0.9258 GB, free: 36.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2421, allocations: 4 kB / 0.9258 GB, free: 36.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.064e-06/0.2421, allocations: 15.95 kB / 0.9258 GB, free: 36.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.2425, allocations: 107.8 kB / 0.9259 GB, free: 36.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.2425, allocations: 12.62 kB / 0.9259 GB, free: 36.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.2428, allocations: 35.81 kB / 0.9259 GB, free: 36.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.2428, allocations: 24 kB / 0.926 GB, free: 36.25 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.0002157/0.243, allocations: 270.5 kB / 0.9262 GB, free: 35.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.2431, allocations: 31.62 kB / 0.9263 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/0.2446, allocations: 0.674 MB / 0.9269 GB, free: 35.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2446, allocations: 4 kB / 0.9269 GB, free: 35.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2446, allocations: 3.953 kB / 0.9269 GB, free: 35.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.2446, allocations: 7.938 kB / 0.9269 GB, free: 35.24 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007321/0.2454, allocations: 0.6443 MB / 0.9276 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2454, allocations: 0 / 0.9276 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.2456, allocations: 47.94 kB / 0.9276 GB, free: 34.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001346/0.2469, allocations: 413.1 kB / 0.928 GB, free: 34.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.247, allocations: 7.984 kB / 0.928 GB, free: 34.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002844/0.2498, allocations: 3.553 MB / 0.9315 GB, free: 30.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2498, allocations: 0 / 0.9315 GB, free: 30.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.2512, allocations: 0.872 MB / 0.9323 GB, free: 29.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.2513, allocations: 144.6 kB / 0.9325 GB, free: 29.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.2514, allocations: 8 kB / 0.9325 GB, free: 29.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.2517, allocations: 35.94 kB / 0.9325 GB, free: 29.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.2518, allocations: 27.91 kB / 0.9325 GB, free: 29.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.2518, allocations: 8 kB / 0.9325 GB, free: 29.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001643/0.252, allocations: 231 kB / 0.9328 GB, free: 28.87 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/0.252, allocations: 0 / 0.9328 GB, free: 28.87 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000741/0.2527, allocations: 196 kB / 0.9329 GB, free: 28.68 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.001698/0.2544, allocations: 1.63 MB / 0.9345 GB, free: 27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001239/0.2557, allocations: 0.9601 MB / 0.9355 GB, free: 26.01 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2557, allocations: 4.062 kB / 0.9355 GB, free: 26.01 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000552/0.2562, allocations: 473 kB / 0.9359 GB, free: 25.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.2566, allocations: 69.19 kB / 0.936 GB, free: 25.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004171/0.2608, allocations: 6.129 MB / 0.942 GB, free: 19.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.2611, allocations: 0.8585 MB / 0.9428 GB, free: 18.27 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003569/0.2615, allocations: 135.1 kB / 0.943 GB, free: 18.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.2616, allocations: 115.4 kB / 0.9431 GB, free: 18.02 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/0.2616, allocations: 4 kB / 0.9431 GB, free: 18.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/0.2809, allocations: 9.883 MB / 0.9527 GB, free: 8.375 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/0.2811, allocations: 238.5 kB / 0.9529 GB, free: 8.137 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.105/2.386, allocations: 3.938 kB / 0.9529 GB, free: 8.133 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)