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_R.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_R,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.906/1.906, allocations: 285.6 MB / 293.1 MB, free: 10.3 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.001346/0.001346, allocations: 168.9 kB / 361.4 MB, free: 6.879 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.56/1.56, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008156/0.0008154, allocations: 91.73 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.017e-05/2.027e-05, allocations: 4 kB / 0.8518 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7338/0.7338, allocations: 115.3 MB / 0.9645 GB, free: 78.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2077/0.9416, allocations: 159.3 MB / 1.12 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.9419, allocations: 93.67 kB / 1.12 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.09087/1.033, allocations: 36.38 MB / 1.156 GB, free: 7.785 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.673e-06/1.033, allocations: 0 / 1.156 GB, free: 7.785 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.489e-05/1.033, allocations: 20 kB / 1.156 GB, free: 7.766 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002181/1.035, allocations: 0.955 MB / 1.157 GB, free: 6.762 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/1.035, allocations: 13.06 kB / 1.157 GB, free: 6.75 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/1.037, allocations: 239.7 kB / 1.157 GB, free: 6.516 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/1.038, allocations: 0.5376 MB / 1.157 GB, free: 5.934 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/1.038, allocations: 20 kB / 1.157 GB, free: 5.914 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/1.038, allocations: 47.88 kB / 1.157 GB, free: 5.867 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001157/1.039, allocations: 0.5993 MB / 1.158 GB, free: 5.27 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/1.041, allocations: 1.01 MB / 1.159 GB, free: 4.113 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.798e-05/1.041, allocations: 7.938 kB / 1.159 GB, free: 4.105 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.137e-05/1.041, allocations: 4 kB / 1.159 GB, free: 4.102 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.031e-05/1.041, allocations: 57.28 kB / 1.159 GB, free: 4.043 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005931/1.047, allocations: 5.763 MB / 1.165 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009623/1.048, allocations: 0.5212 MB / 1.165 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004242/1.049, allocations: 310.1 kB / 1.166 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.596e-05/1.049, allocations: 4.438 kB / 1.166 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/1.049, allocations: 43 kB / 1.166 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=47): time 2.955e-06/1.049, allocations: 0 / 1.166 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.002476/1.051, allocations: 1.159 MB / 1.167 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/1.051, allocations: 60.45 kB / 1.167 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005483/1.052, allocations: 398 kB / 1.167 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.947e-05/1.052, allocations: 29.7 kB / 1.167 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/1.052, allocations: 402.9 kB / 1.168 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/1.052, allocations: 165.5 kB / 1.168 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/1.052, allocations: 0 / 1.168 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001945/1.053, allocations: 374.8 kB / 1.168 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/1.053, allocations: 250.1 kB / 1.168 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005178/1.053, allocations: 438.5 kB / 1.169 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004804/1.054, allocations: 321.9 kB / 1.169 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/1.054, allocations: 4 kB / 1.169 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001768/1.056, allocations: 0.9583 MB / 1.17 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/1.056, allocations: 9.094 kB / 1.17 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/1.056, allocations: 8 kB / 1.17 GB, free: 8.293 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008418/1.057, allocations: 278.5 kB / 1.17 GB, free: 8.012 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004957/1.057, allocations: 115.8 kB / 1.17 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006291/1.063, allocations: 6.332 MB / 1.177 GB, free: 1.113 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006502/1.064, allocations: 23.95 kB / 1.177 GB, free: 1.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.701e-05/1.064, allocations: 34.38 kB / 1.177 GB, free: 1.059 MB / 0.7761 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 (63): * Single equations (assignments): 59 * 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,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001834/1.064, allocations: 117.5 kB / 1.177 GB, free: 0.9375 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001408/1.066, allocations: 0.7834 MB / 1.177 GB, free: 140 kB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/1.066, allocations: 67.25 kB / 1.178 GB, free: 72 kB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/1.068, allocations: 0.8214 MB / 1.178 GB, free: 15.22 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/1.068, allocations: 4 kB / 1.178 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.068, allocations: 8 kB / 1.178 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/1.068, allocations: 3.984 kB / 1.178 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00255/1.07, allocations: 1.558 MB / 1.18 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/1.07, allocations: 4 kB / 1.18 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/1.07, allocations: 55.89 kB / 1.18 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007759/1.071, allocations: 278.4 kB / 1.18 GB, free: 13.23 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/1.071, allocations: 0 / 1.18 GB, free: 13.23 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006317/1.078, allocations: 6.301 MB / 1.186 GB, free: 6.473 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/1.078, allocations: 4.031 kB / 1.186 GB, free: 6.469 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/1.079, allocations: 0.9979 MB / 1.187 GB, free: 5.391 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003725/1.08, allocations: 188.3 kB / 1.188 GB, free: 5.188 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/1.08, allocations: 4 kB / 1.188 GB, free: 5.184 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/1.08, allocations: 19.95 kB / 1.188 GB, free: 5.164 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.08, allocations: 43.89 kB / 1.188 GB, free: 5.121 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.553e-05/1.08, allocations: 18.31 kB / 1.188 GB, free: 5.105 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003765/1.081, allocations: 298.9 kB / 1.188 GB, free: 4.816 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3.41e-07/1.081, allocations: 0 / 1.188 GB, free: 4.816 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001062/1.082, allocations: 204 kB / 1.188 GB, free: 4.617 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 (31): * Single equations (assignments): 27 * 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,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002069/1.084, allocations: 1.969 MB / 1.19 GB, free: 2.566 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002034/1.086, allocations: 1.169 MB / 1.191 GB, free: 1.359 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.086, allocations: 4.125 kB / 1.191 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001265/1.087, allocations: 0.8346 MB / 1.192 GB, free: 492 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/1.088, allocations: 174.2 kB / 1.192 GB, free: 320 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/1.091, allocations: 1.101 MB / 1.193 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000937/1.092, allocations: 1.024 MB / 1.194 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0005551/1.093, allocations: 109 kB / 1.194 GB, free: 14 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003446/1.093, allocations: 251.3 kB / 1.195 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of SimCode: time 9.32e-07/1.093, allocations: 7.938 kB / 1.195 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0453/1.138, allocations: 14.5 MB / 1.209 GB, free: 15.48 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/1.139, allocations: 170.3 kB / 1.209 GB, free: 15.28 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/3.452, allocations: 0 / 1.209 GB, free: 15.28 MB / 0.823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)