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.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,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.821/1.821, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001408/0.001408, allocations: 176.9 kB / 361.4 MB, free: 6.824 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.483/1.483, 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.0008294/0.0008293, allocations: 102.8 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.9e-05/2.913e-05, allocations: 4 kB / 0.8518 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8647/0.8647, allocations: 115.3 MB / 0.9645 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3119/1.177, allocations: 179.2 MB / 1.139 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003684/1.177, allocations: 95.94 kB / 1.14 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2859/1.463, allocations: 77.23 MB / 1.215 GB, free: 10.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.635e-06/1.463, allocations: 0 / 1.215 GB, free: 10.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002785/1.463, allocations: 36 kB / 1.215 GB, free: 10.67 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.005807/1.469, allocations: 1.542 MB / 1.216 GB, free: 9.078 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/1.469, allocations: 8.031 kB / 1.216 GB, free: 9.07 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01683/1.486, allocations: 1.815 MB / 1.218 GB, free: 7.25 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004302/1.49, allocations: 1.13 MB / 1.219 GB, free: 6.062 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/1.491, allocations: 40 kB / 1.219 GB, free: 6.023 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006241/1.491, allocations: 72.78 kB / 1.219 GB, free: 5.953 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004892/1.496, allocations: 1.438 MB / 1.221 GB, free: 4.512 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005956/1.502, allocations: 1.872 MB / 1.223 GB, free: 2.457 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.763e-05/1.502, allocations: 11.92 kB / 1.223 GB, free: 2.445 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003479/1.503, allocations: 4 kB / 1.223 GB, free: 2.441 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001746/1.503, allocations: 74.2 kB / 1.223 GB, free: 2.367 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02289/1.526, allocations: 9.927 MB / 1.232 GB, free: 7.789 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003179/1.529, allocations: 1.118 MB / 1.234 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/1.53, allocations: 0.5737 MB / 1.234 GB, free: 6.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.918e-05/1.53, allocations: 8.438 kB / 1.234 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.11e-05/1.531, allocations: 39 kB / 1.234 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=53): time 6.723e-06/1.531, allocations: 0 / 1.234 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of matching and sorting (n=81): time 0.01408/1.545, allocations: 3.889 MB / 1.238 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/1.545, allocations: 214.4 kB / 1.238 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/1.547, allocations: 0.746 MB / 1.239 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002316/1.547, allocations: 29.7 kB / 1.239 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008249/1.548, allocations: 0.7446 MB / 1.24 GB, free: 292 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004694/1.549, allocations: 268 kB / 1.24 GB, free: 20 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/1.549, allocations: 0 / 1.24 GB, free: 20 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002109/1.549, allocations: 346 kB / 1.24 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/1.551, allocations: 0.6703 MB / 1.241 GB, free: 15 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/1.552, allocations: 0.9072 MB / 1.242 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002073/1.554, allocations: 0.7776 MB / 1.243 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/1.554, allocations: 0 / 1.243 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007589/1.562, allocations: 2.422 MB / 1.245 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/1.562, allocations: 12.75 kB / 1.245 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/1.562, allocations: 4 kB / 1.245 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004508/1.567, allocations: 0.8339 MB / 1.246 GB, free: 9.887 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003089/1.57, allocations: 427.2 kB / 1.246 GB, free: 9.469 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7733/2.343, allocations: 14.31 MB / 1.26 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002733/2.346, allocations: 294.8 kB / 1.26 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/2.346, allocations: 51.62 kB / 1.26 GB, free: 206.6 MB / 0.8542 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 (78): * Single equations (assignments): 70 * 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 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002846/2.346, allocations: 125 kB / 1.261 GB, free: 206.5 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005595/2.352, allocations: 2.235 MB / 1.263 GB, free: 206.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003916/2.352, allocations: 129.3 kB / 1.263 GB, free: 206.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005332/2.358, allocations: 2.418 MB / 1.265 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/2.358, allocations: 9.969 kB / 1.265 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.031e-05/2.358, allocations: 9.641 kB / 1.265 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/2.358, allocations: 7.156 kB / 1.265 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00977/2.368, allocations: 4.015 MB / 1.269 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/2.368, allocations: 5.156 kB / 1.269 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00272/2.37, allocations: 363.8 kB / 1.27 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003199/2.374, allocations: 0.7564 MB / 1.27 GB, free: 205.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/2.374, allocations: 20.84 kB / 1.27 GB, free: 205.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01336/2.387, allocations: 13.93 MB / 1.284 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/2.387, allocations: 4.875 kB / 1.284 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005216/2.392, allocations: 2.422 MB / 1.286 GB, free: 195.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009669/2.393, allocations: 377.5 kB / 1.287 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/2.394, allocations: 5.922 kB / 1.287 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002082/2.396, allocations: 292 kB / 1.287 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003451/2.396, allocations: 85.48 kB / 1.287 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/2.396, allocations: 39.25 kB / 1.287 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009884/2.397, allocations: 0.5593 MB / 1.288 GB, free: 195.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.4e-07/2.397, allocations: 0 / 1.288 GB, free: 195.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002161/2.399, allocations: 413.2 kB / 1.288 GB, free: 195.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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 {(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005968/2.405, allocations: 3.748 MB / 1.292 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005158/2.411, allocations: 2.742 MB / 1.294 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/2.411, allocations: 4.125 kB / 1.294 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003204/2.414, allocations: 1.902 MB / 1.296 GB, free: 191.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00319/2.417, allocations: 409.7 kB / 1.297 GB, free: 191.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/2.428, allocations: 2.958 MB / 1.299 GB, free: 190.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001953/2.43, allocations: 1.418 MB / 1.301 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002355/2.432, allocations: 364.4 kB / 1.301 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/2.433, allocations: 0.5862 MB / 1.302 GB, free: 189.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.894e-06/2.433, allocations: 0 / 1.302 GB, free: 189.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1022/2.536, allocations: 37.24 MB / 1.338 GB, free: 187.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002693/2.536, allocations: 151.7 kB / 1.338 GB, free: 187.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.059/5.595, allocations: 6.391 kB / 1.338 GB, free: 187.6 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)