Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.481/1.481, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001079/0.001079, allocations: 175.2 kB / 326.5 MB, free: 2.262 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.771/1.771, allocations: 205.4 MB / 0.5775 GB, free: 20.55 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.0008784/0.0008784, allocations: 91 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005105/0.0005106, allocations: 9.469 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2758, allocations: 106.3 MB / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2137/0.4896, allocations: 156.1 MB / 1.053 GB, free: 4.07 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/0.49, allocations: 99.94 kB / 1.053 GB, free: 3.973 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7859/1.276, allocations: 86.76 MB / 1.137 GB, free: 94.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.286e-06/1.276, allocations: 0 / 1.137 GB, free: 94.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000179/1.276, allocations: 43.98 kB / 1.137 GB, free: 94.91 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.005346/1.282, allocations: 1.661 MB / 1.139 GB, free: 93.19 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/1.282, allocations: 8.031 kB / 1.139 GB, free: 93.18 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009172/1.282, allocations: 215.2 kB / 1.139 GB, free: 92.96 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00515/1.288, allocations: 0.6221 MB / 1.14 GB, free: 92.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002507/1.29, allocations: 0.892 MB / 1.141 GB, free: 91.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/1.29, allocations: 98.52 kB / 1.141 GB, free: 91.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005418/1.291, allocations: 124 kB / 1.141 GB, free: 91.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003078/1.294, allocations: 2.326 MB / 1.143 GB, free: 88.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.054e-05/1.294, allocations: 11.84 kB / 1.143 GB, free: 88.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/1.294, allocations: 67.97 kB / 1.143 GB, free: 88.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001633/1.294, allocations: 142.3 kB / 1.143 GB, free: 88.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002397/1.297, allocations: 1.859 MB / 1.145 GB, free: 86.47 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01037/1.307, allocations: 12.51 MB / 1.157 GB, free: 73.01 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003246/1.31, allocations: 1.866 MB / 1.159 GB, free: 71.13 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/1.311, allocations: 102.1 kB / 1.159 GB, free: 71.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/1.311, allocations: 39.56 kB / 1.159 GB, free: 70.97 MB / 0.698 GB Notification: Performance of pre-optimization done (n=103): time 2.575e-06/1.311, allocations: 0 / 1.159 GB, free: 70.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=110): time 0.005715/1.316, allocations: 3.702 MB / 1.163 GB, free: 67.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/1.316, allocations: 68.41 kB / 1.163 GB, free: 67.03 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000897/1.317, allocations: 0.7938 MB / 1.164 GB, free: 66.22 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.866e-05/1.317, allocations: 41.7 kB / 1.164 GB, free: 66.17 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/1.318, allocations: 0.7122 MB / 1.165 GB, free: 65.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002277/1.318, allocations: 378.6 kB / 1.165 GB, free: 65.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/1.318, allocations: 28 kB / 1.165 GB, free: 65.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.318, allocations: 365.9 kB / 1.165 GB, free: 64.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000756/1.319, allocations: 0.6012 MB / 1.166 GB, free: 64.08 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/1.32, allocations: 1.044 MB / 1.167 GB, free: 62.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008869/1.321, allocations: 0.7563 MB / 1.168 GB, free: 62.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.321, allocations: 4 kB / 1.168 GB, free: 62.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.002779/1.324, allocations: 2.033 MB / 1.17 GB, free: 60.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/1.324, allocations: 12 kB / 1.17 GB, free: 60 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/1.324, allocations: 16 kB / 1.17 GB, free: 59.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007276/1.324, allocations: 251.4 kB / 1.17 GB, free: 59.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/1.326, allocations: 359.4 kB / 1.17 GB, free: 59.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006151/1.332, allocations: 10.82 MB / 1.181 GB, free: 47.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/1.334, allocations: 123.8 kB / 1.181 GB, free: 47.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/1.334, allocations: 67.98 kB / 1.181 GB, free: 47.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (179): * Single equations (assignments): 171 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000988/1.335, allocations: 409.3 kB / 1.181 GB, free: 46.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00026/1.335, allocations: 134.4 kB / 1.182 GB, free: 46.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/1.338, allocations: 1.665 MB / 1.183 GB, free: 45.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/1.338, allocations: 12 kB / 1.183 GB, free: 45.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/1.338, allocations: 0 / 1.183 GB, free: 45.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/1.338, allocations: 7.938 kB / 1.183 GB, free: 45.03 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0049/1.343, allocations: 3.292 MB / 1.186 GB, free: 41.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/1.343, allocations: 8 kB / 1.186 GB, free: 41.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008183/1.343, allocations: 219.6 kB / 1.187 GB, free: 41.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006748/1.344, allocations: 242.8 kB / 1.187 GB, free: 41.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.491e-05/1.344, allocations: 31.98 kB / 1.187 GB, free: 41.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006419/1.351, allocations: 10.8 MB / 1.197 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/1.351, allocations: 11.94 kB / 1.197 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003132/1.354, allocations: 2.068 MB / 1.199 GB, free: 26.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008041/1.355, allocations: 335.2 kB / 1.2 GB, free: 26.56 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/1.355, allocations: 27.98 kB / 1.2 GB, free: 26.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007085/1.356, allocations: 87.88 kB / 1.2 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/1.356, allocations: 92.78 kB / 1.2 GB, free: 26.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.669e-05/1.356, allocations: 36 kB / 1.2 GB, free: 26.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008512/1.357, allocations: 0.6177 MB / 1.201 GB, free: 25.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.357, allocations: 0 / 1.201 GB, free: 25.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001653/1.358, allocations: 400 kB / 1.201 GB, free: 25.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002947/1.361, allocations: 4.156 MB / 1.205 GB, free: 20.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003224/1.365, allocations: 2.461 MB / 1.207 GB, free: 18.39 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.365, allocations: 0 / 1.207 GB, free: 18.39 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001839/1.366, allocations: 1.622 MB / 1.209 GB, free: 16.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/1.368, allocations: 314.7 kB / 1.209 GB, free: 16.36 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/1.383, allocations: 17.82 MB / 1.227 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001481/1.384, allocations: 1.36 MB / 1.228 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001388/1.386, allocations: 355 kB / 1.228 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008412/1.386, allocations: 0.5227 MB / 1.229 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of SimCode: time 1.463e-06/1.386, allocations: 0 / 1.229 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07628/1.463, allocations: 26.81 MB / 1.255 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003417/1.463, allocations: 232.7 kB / 1.255 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.025/4.488, allocations: 0 / 1.255 GB, free: 0.9102 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)