Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.712/2.712, allocations: 287.3 MB / 302.3 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00254/0.00254, allocations: 180.8 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.255/2.255, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 98.11 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007445/0.0007446, allocations: 15 kB / 0.8657 GB, free: 140 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2874, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.039/1.327, allocations: 164.2 MB / 1.139 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003468/1.327, allocations: 97.78 kB / 1.139 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1526/1.48, allocations: 37.46 MB / 1.175 GB, free: 3.562 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.777e-06/1.48, allocations: 4 kB / 1.175 GB, free: 3.559 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001052/1.48, allocations: 23.94 kB / 1.175 GB, free: 3.535 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.004068/1.484, allocations: 0.9401 MB / 1.176 GB, free: 2.598 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.993e-05/1.484, allocations: 12.02 kB / 1.176 GB, free: 2.586 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005973/1.485, allocations: 120.7 kB / 1.176 GB, free: 2.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00439/1.489, allocations: 222.7 kB / 1.177 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002724/1.492, allocations: 0.5506 MB / 1.177 GB, free: 1.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/1.492, allocations: 46.17 kB / 1.177 GB, free: 1.719 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003012/1.492, allocations: 66.61 kB / 1.177 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003726/1.496, allocations: 1.085 MB / 1.178 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-05/1.496, allocations: 7.938 kB / 1.178 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001723/1.497, allocations: 40.98 kB / 1.178 GB, free: 0.668 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001794/1.497, allocations: 53.16 kB / 1.178 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00265/1.499, allocations: 0.6897 MB / 1.179 GB, free: 144 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01031/1.51, allocations: 5.783 MB / 1.185 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/1.511, allocations: 0.5876 MB / 1.185 GB, free: 10 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.535e-05/1.511, allocations: 4 kB / 1.185 GB, free: 10 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/1.511, allocations: 41.12 kB / 1.185 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=41): time 2.986e-06/1.511, allocations: 3.938 kB / 1.185 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of matching and sorting (n=42): time 0.007122/1.518, allocations: 1.905 MB / 1.187 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/1.519, allocations: 59.41 kB / 1.187 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000737/1.519, allocations: 401.8 kB / 1.188 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.191e-05/1.519, allocations: 32.7 kB / 1.188 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003106/1.52, allocations: 374.2 kB / 1.188 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/1.52, allocations: 154.6 kB / 1.188 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/1.52, allocations: 12.94 kB / 1.188 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001888/1.52, allocations: 363.3 kB / 1.189 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005685/1.521, allocations: 230.5 kB / 1.189 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007382/1.522, allocations: 412.4 kB / 1.189 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007031/1.522, allocations: 290.7 kB / 1.189 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-06/1.522, allocations: 4 kB / 1.189 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003038/1.525, allocations: 0.955 MB / 1.19 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/1.525, allocations: 11.94 kB / 1.19 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/1.525, allocations: 4 kB / 1.19 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001546/1.527, allocations: 273.8 kB / 1.191 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007112/1.528, allocations: 99.31 kB / 1.191 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/1.538, allocations: 6.75 MB / 1.197 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007682/1.539, allocations: 33.84 kB / 1.197 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.496e-05/1.539, allocations: 23.94 kB / 1.197 GB, free: 14.74 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (51): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005925/1.54, allocations: 239.8 kB / 1.198 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/1.54, allocations: 63.25 kB / 1.198 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002754/1.543, allocations: 0.8354 MB / 1.199 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/1.543, allocations: 4 kB / 1.199 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/1.543, allocations: 12 kB / 1.199 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/1.543, allocations: 0 / 1.199 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004854/1.548, allocations: 1.737 MB / 1.2 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/1.548, allocations: 0 / 1.2 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004892/1.548, allocations: 51.58 kB / 1.2 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001439/1.55, allocations: 245.2 kB / 1.201 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-05/1.55, allocations: 15.39 kB / 1.201 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009783/1.56, allocations: 6.453 MB / 1.207 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.53e-05/1.56, allocations: 8.031 kB / 1.207 GB, free: 5.809 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002847/1.563, allocations: 0.9723 MB / 1.208 GB, free: 4.961 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004821/1.563, allocations: 165.2 kB / 1.208 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/1.563, allocations: 18.23 kB / 1.208 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004802/1.564, allocations: 19.48 kB / 1.208 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/1.564, allocations: 50.58 kB / 1.208 GB, free: 4.727 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/1.564, allocations: 15.42 kB / 1.208 GB, free: 4.715 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005498/1.564, allocations: 308.6 kB / 1.208 GB, free: 4.477 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.51e-07/1.564, allocations: 0 / 1.208 GB, free: 4.477 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00123/1.566, allocations: 196.7 kB / 1.209 GB, free: 4.305 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (27): * Single equations (assignments): 23 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003257/1.569, allocations: 1.938 MB / 1.21 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002844/1.572, allocations: 1.127 MB / 1.212 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.994e-06/1.572, allocations: 0 / 1.212 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001873/1.574, allocations: 0.7956 MB / 1.212 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/1.575, allocations: 172.9 kB / 1.212 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/1.587, allocations: 7.807 MB / 1.22 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009043/1.588, allocations: 1.004 MB / 1.221 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006333/1.589, allocations: 109 kB / 1.221 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004191/1.589, allocations: 225.9 kB / 1.221 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of SimCode: time 1.352e-06/1.589, allocations: 4 kB / 1.221 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06468/1.654, allocations: 14.07 MB / 1.235 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/1.654, allocations: 221.3 kB / 1.235 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.901/4.555, allocations: 9.219 kB / 1.235 GB, free: 10.1 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)