Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_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.1-maint.8.0.x/package.mo): time 1.604/1.604, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001047/0.001047, allocations: 172.9 kB / 361.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009769/0.0009768, allocations: 85.61 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.246e-05/2.249e-05, allocations: 4 kB / 0.8518 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8867/0.8868, allocations: 115.3 MB / 0.9645 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2793/1.166, allocations: 160.6 MB / 1.121 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003582/1.167, allocations: 95.08 kB / 1.121 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1251/1.292, allocations: 36.63 MB / 1.157 GB, free: 6.27 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.367e-06/1.292, allocations: 0 / 1.157 GB, free: 6.27 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001184/1.292, allocations: 16 kB / 1.157 GB, free: 6.254 MB / 0.7605 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.002872/1.295, allocations: 0.8722 MB / 1.158 GB, free: 5.332 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/1.295, allocations: 12.03 kB / 1.158 GB, free: 5.32 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002654/1.298, allocations: 211.8 kB / 1.158 GB, free: 5.113 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/1.299, allocations: 0.539 MB / 1.159 GB, free: 4.535 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.746e-05/1.299, allocations: 20 kB / 1.159 GB, free: 4.516 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/1.299, allocations: 40 kB / 1.159 GB, free: 4.477 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001323/1.301, allocations: 0.5421 MB / 1.159 GB, free: 3.938 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/1.302, allocations: 0.9872 MB / 1.16 GB, free: 2.797 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.407e-05/1.303, allocations: 15.83 kB / 1.16 GB, free: 2.781 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-05/1.303, allocations: 4 kB / 1.16 GB, free: 2.777 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001151/1.303, allocations: 57.28 kB / 1.16 GB, free: 2.723 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006705/1.309, allocations: 5.629 MB / 1.166 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/1.311, allocations: 0.5779 MB / 1.166 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009264/1.312, allocations: 386.3 kB / 1.167 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.172e-05/1.312, allocations: 4 kB / 1.167 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/1.312, allocations: 36.62 kB / 1.167 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=41): time 3.216e-06/1.312, allocations: 0 / 1.167 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42): time 0.003124/1.315, allocations: 1.162 MB / 1.168 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/1.315, allocations: 55.41 kB / 1.168 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005192/1.315, allocations: 325.1 kB / 1.168 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/1.315, allocations: 25.7 kB / 1.168 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/1.316, allocations: 381.5 kB / 1.169 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/1.316, allocations: 149.8 kB / 1.169 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/1.316, allocations: 0 / 1.169 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002326/1.316, allocations: 358.8 kB / 1.169 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004616/1.317, allocations: 225 kB / 1.169 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000641/1.317, allocations: 408.4 kB / 1.17 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005786/1.318, allocations: 288.4 kB / 1.17 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.371e-06/1.318, allocations: 7.938 kB / 1.17 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002384/1.32, allocations: 0.9374 MB / 1.171 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/1.32, allocations: 8 kB / 1.171 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/1.32, allocations: 12.06 kB / 1.171 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/1.322, allocations: 299.2 kB / 1.171 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/1.322, allocations: 91.83 kB / 1.171 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009012/1.331, allocations: 6.838 MB / 1.178 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000624/1.332, allocations: 18.8 kB / 1.178 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/1.332, allocations: 26.34 kB / 1.178 GB, free: 15.42 MB / 0.7917 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 45 * 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%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001935/1.332, allocations: 123.7 kB / 1.178 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002081/1.334, allocations: 0.8003 MB / 1.179 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/1.334, allocations: 51.39 kB / 1.179 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/1.337, allocations: 0.8451 MB / 1.18 GB, free: 13.56 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/1.337, allocations: 7.953 kB / 1.18 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/1.337, allocations: 4 kB / 1.18 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/1.337, allocations: 3.984 kB / 1.18 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003976/1.341, allocations: 1.712 MB / 1.182 GB, free: 11.73 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/1.341, allocations: 0 / 1.182 GB, free: 11.73 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/1.341, allocations: 43.97 kB / 1.182 GB, free: 11.69 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001159/1.342, allocations: 279.3 kB / 1.182 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/1.342, allocations: 4 kB / 1.182 GB, free: 11.4 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008337/1.351, allocations: 6.553 MB / 1.188 GB, free: 4.367 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/1.351, allocations: 3.938 kB / 1.188 GB, free: 4.363 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/1.353, allocations: 0.9704 MB / 1.189 GB, free: 3.305 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003654/1.353, allocations: 160.5 kB / 1.189 GB, free: 3.129 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.863e-05/1.353, allocations: 4 kB / 1.189 GB, free: 3.125 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/1.354, allocations: 15.97 kB / 1.189 GB, free: 3.109 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/1.354, allocations: 35.95 kB / 1.189 GB, free: 3.074 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/1.354, allocations: 15.94 kB / 1.189 GB, free: 3.059 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003939/1.354, allocations: 247 kB / 1.19 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.51e-07/1.354, allocations: 4 kB / 1.19 GB, free: 2.816 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001304/1.356, allocations: 176.8 kB / 1.19 GB, free: 2.645 MB / 0.7917 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002691/1.358, allocations: 1.924 MB / 1.192 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00236/1.361, allocations: 1.087 MB / 1.193 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.361, allocations: 4 kB / 1.193 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001507/1.362, allocations: 0.7803 MB / 1.194 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/1.364, allocations: 166.4 kB / 1.194 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/1.366, allocations: 1.01 MB / 1.195 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008456/1.367, allocations: 1.004 MB / 1.196 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004465/1.368, allocations: 95.92 kB / 1.196 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003691/1.368, allocations: 219.4 kB / 1.196 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of SimCode: time 7.51e-07/1.368, allocations: 0 / 1.196 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04415/1.412, allocations: 12.79 MB / 1.208 GB, free: 15.55 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002835/1.413, allocations: 158.7 kB / 1.209 GB, free: 15.36 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.348/3.761, allocations: 2.188 kB / 1.209 GB, free: 15.36 MB / 0.823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)