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.636/1.636, allocations: 285.4 MB / 298 MB, free: 5.906 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.001074/0.001074, allocations: 180.8 kB / 366.4 MB, free: 2.066 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.534/1.534, allocations: 205.1 MB / 0.6248 GB, free: 7.73 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.000951/0.000951, allocations: 89.89 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.705e-05/4.735e-05, allocations: 4 kB / 0.8584 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6514/0.6514, allocations: 115.3 MB / 0.971 GB, free: 77.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2195/0.871, allocations: 179.8 MB / 1.147 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.8713, allocations: 95.94 kB / 1.147 GB, free: 3.727 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2044/1.076, allocations: 77.69 MB / 1.223 GB, free: 5.434 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.553e-06/1.076, allocations: 4 kB / 1.223 GB, free: 5.43 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001595/1.076, allocations: 32 kB / 1.223 GB, free: 5.398 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.003948/1.08, allocations: 1.536 MB / 1.224 GB, free: 3.812 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/1.08, allocations: 12.03 kB / 1.224 GB, free: 3.801 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00062/1.081, allocations: 189.8 kB / 1.224 GB, free: 3.605 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/1.092, allocations: 1.815 MB / 1.226 GB, free: 1.785 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003403/1.095, allocations: 1.146 MB / 1.227 GB, free: 0.582 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/1.095, allocations: 82.31 kB / 1.227 GB, free: 0.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00055/1.096, allocations: 119.9 kB / 1.227 GB, free: 392 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004954/1.101, allocations: 2.045 MB / 1.229 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.317e-05/1.101, allocations: 7.938 kB / 1.229 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003534/1.101, allocations: 55.98 kB / 1.229 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001388/1.101, allocations: 78.2 kB / 1.23 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003355/1.105, allocations: 1.609 MB / 1.231 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0165/1.121, allocations: 10.19 MB / 1.241 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/1.124, allocations: 1.13 MB / 1.242 GB, free: 400 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/1.125, allocations: 0.5917 MB / 1.243 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.16e-05/1.125, allocations: 8.438 kB / 1.243 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/1.125, allocations: 42.95 kB / 1.243 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=53): time 4.228e-06/1.125, allocations: 4 kB / 1.243 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=81): time 0.02289/1.148, allocations: 6.614 MB / 1.249 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/1.148, allocations: 214.4 kB / 1.249 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/1.15, allocations: 0.9359 MB / 1.25 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001599/1.15, allocations: 45.7 kB / 1.25 GB, free: 7.82 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006003/1.151, allocations: 0.742 MB / 1.251 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003102/1.151, allocations: 272 kB / 1.251 GB, free: 6.801 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.225e-05/1.151, allocations: 16 kB / 1.251 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.151, allocations: 338 kB / 1.252 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/1.152, allocations: 0.6931 MB / 1.252 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/1.154, allocations: 0.938 MB / 1.253 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/1.155, allocations: 0.7399 MB / 1.254 GB, free: 3.977 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/1.155, allocations: 4 kB / 1.254 GB, free: 3.973 MB / 0.8542 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00536/1.16, allocations: 2.495 MB / 1.256 GB, free: 1.441 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/1.16, allocations: 8.75 kB / 1.256 GB, free: 1.434 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/1.16, allocations: 7.953 kB / 1.256 GB, free: 1.426 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003216/1.164, allocations: 0.8614 MB / 1.257 GB, free: 0.5391 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/1.166, allocations: 423.2 kB / 1.258 GB, free: 128 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5153/1.681, allocations: 14.86 MB / 1.272 GB, free: 201 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004764/1.686, allocations: 304.4 kB / 1.273 GB, free: 201 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003309/1.686, allocations: 53.89 kB / 1.273 GB, free: 201 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.0004608/1.687, allocations: 162.4 kB / 1.273 GB, free: 200.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004946/1.687, allocations: 146.4 kB / 1.273 GB, free: 200.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01015/1.697, allocations: 2.464 MB / 1.275 GB, free: 200.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.623e-05/1.697, allocations: 8.656 kB / 1.275 GB, free: 200.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.098e-05/1.698, allocations: 10.88 kB / 1.275 GB, free: 200.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.219e-05/1.698, allocations: 4.875 kB / 1.275 GB, free: 200.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01454/1.712, allocations: 4.223 MB / 1.279 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/1.712, allocations: 3 kB / 1.279 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002891/1.715, allocations: 366.4 kB / 1.28 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004958/1.72, allocations: 0.775 MB / 1.281 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002538/1.72, allocations: 30.88 kB / 1.281 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02085/1.741, allocations: 14.5 MB / 1.295 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.314e-05/1.741, allocations: 7.5 kB / 1.295 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007195/1.748, allocations: 2.468 MB / 1.297 GB, free: 189.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/1.75, allocations: 391.8 kB / 1.298 GB, free: 189.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003826/1.75, allocations: 19.8 kB / 1.298 GB, free: 189.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003213/1.753, allocations: 308 kB / 1.298 GB, free: 189.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000413/1.754, allocations: 84.73 kB / 1.298 GB, free: 189.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001814/1.754, allocations: 39.5 kB / 1.298 GB, free: 189.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001799/1.756, allocations: 0.7217 MB / 1.299 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.61e-07/1.756, allocations: 0 / 1.299 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00302/1.759, allocations: 466.9 kB / 1.299 GB, free: 189.2 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.008754/1.768, allocations: 3.793 MB / 1.303 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007832/1.776, allocations: 2.847 MB / 1.306 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/1.776, allocations: 2.406 kB / 1.306 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005515/1.781, allocations: 1.984 MB / 1.308 GB, free: 184 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004449/1.786, allocations: 483 kB / 1.308 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/1.8, allocations: 3.033 MB / 1.311 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001995/1.802, allocations: 1.417 MB / 1.312 GB, free: 182 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003542/1.806, allocations: 381.9 kB / 1.313 GB, free: 182 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001537/1.808, allocations: 0.5983 MB / 1.313 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.813e-06/1.808, allocations: 0 / 1.313 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07286/1.88, allocations: 41.25 MB / 1.354 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001474/1.881, allocations: 179.9 kB / 1.354 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.168/5.049, allocations: 1.5 kB / 1.354 GB, free: 179.1 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)