Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.408/1.408, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001393/0.001393, allocations: 184.3 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008679/0.0008677, allocations: 96.41 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003624, allocations: 9 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1962, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6007/0.7969, allocations: 173.6 MB / 1.07 GB, free: 64.89 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.7972, allocations: 102.1 kB / 1.07 GB, free: 64.89 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1819/0.9792, allocations: 78 MB / 1.146 GB, free: 44.15 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9792, allocations: 4 kB / 1.146 GB, free: 44.15 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001727/0.9794, allocations: 39.19 kB / 1.146 GB, free: 44.14 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004712/0.9841, allocations: 1.762 MB / 1.148 GB, free: 42.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.9842, allocations: 7.812 kB / 1.148 GB, free: 42.96 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000629/0.9848, allocations: 195.8 kB / 1.148 GB, free: 42.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009699/0.9945, allocations: 1.816 MB / 1.15 GB, free: 42.08 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002399/0.997, allocations: 1.151 MB / 1.151 GB, free: 41.44 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.744e-05/0.997, allocations: 87.47 kB / 1.151 GB, free: 41.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/0.9973, allocations: 109.3 kB / 1.151 GB, free: 41.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00485/1.002, allocations: 2.546 MB / 1.154 GB, free: 40.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.79e-05/1.002, allocations: 11.72 kB / 1.154 GB, free: 40.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/1.002, allocations: 55.42 kB / 1.154 GB, free: 40.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.983e-05/1.002, allocations: 87.5 kB / 1.154 GB, free: 40.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006455/1.009, allocations: 2.587 MB / 1.156 GB, free: 39.53 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01245/1.021, allocations: 10.19 MB / 1.166 GB, free: 32.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005279/1.027, allocations: 2.014 MB / 1.168 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.255e-05/1.027, allocations: 11.84 kB / 1.168 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/1.027, allocations: 42.52 kB / 1.168 GB, free: 31.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=53): time 2.244e-06/1.027, allocations: 0 / 1.168 GB, free: 31.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=81): time 0.02828/1.055, allocations: 9.229 MB / 1.177 GB, free: 28.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/1.055, allocations: 214 kB / 1.177 GB, free: 27.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/1.057, allocations: 0.955 MB / 1.178 GB, free: 27.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001381/1.057, allocations: 40.27 kB / 1.178 GB, free: 27.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003762/1.057, allocations: 0.7398 MB / 1.179 GB, free: 27.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/1.057, allocations: 276 kB / 1.179 GB, free: 27.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.038e-05/1.057, allocations: 17.34 kB / 1.179 GB, free: 27.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.482e-05/1.057, allocations: 342.4 kB / 1.18 GB, free: 26.72 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00247/1.06, allocations: 1.101 MB / 1.181 GB, free: 26.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002489/1.062, allocations: 1.341 MB / 1.182 GB, free: 25.87 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002509/1.065, allocations: 1.147 MB / 1.183 GB, free: 25.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.065, allocations: 4 kB / 1.183 GB, free: 25.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007557/1.073, allocations: 3.315 MB / 1.186 GB, free: 24.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/1.073, allocations: 11.95 kB / 1.186 GB, free: 24.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/1.073, allocations: 8 kB / 1.186 GB, free: 24.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002803/1.075, allocations: 0.8582 MB / 1.187 GB, free: 23.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/1.077, allocations: 412 kB / 1.188 GB, free: 22.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01232/1.089, allocations: 15.2 MB / 1.203 GB, free: 8.738 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/1.092, allocations: 315.5 kB / 1.203 GB, free: 8.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/1.092, allocations: 47.97 kB / 1.203 GB, free: 8.383 MB / 0.698 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 (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.0009067/1.093, allocations: 406 kB / 1.203 GB, free: 7.977 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/1.093, allocations: 142.3 kB / 1.203 GB, free: 7.836 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007669/1.101, allocations: 3.273 MB / 1.207 GB, free: 4.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/1.101, allocations: 8 kB / 1.207 GB, free: 4.512 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/1.101, allocations: 8 kB / 1.207 GB, free: 4.504 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/1.101, allocations: 7.969 kB / 1.207 GB, free: 4.496 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01064/1.112, allocations: 5.034 MB / 1.212 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.719e-06/1.112, allocations: 3.984 kB / 1.212 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/1.113, allocations: 367.7 kB / 1.212 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002832/1.116, allocations: 0.7725 MB / 1.213 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/1.116, allocations: 39.91 kB / 1.213 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0145/1.131, allocations: 14.83 MB / 1.227 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/1.131, allocations: 8 kB / 1.227 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008316/1.139, allocations: 3.268 MB / 1.23 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/1.14, allocations: 399 kB / 1.231 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/1.141, allocations: 20 kB / 1.231 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001873/1.142, allocations: 311.5 kB / 1.231 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002569/1.143, allocations: 80.45 kB / 1.231 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.479e-05/1.143, allocations: 39.95 kB / 1.231 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001051/1.144, allocations: 0.7405 MB / 1.232 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.71e-07/1.144, allocations: 0 / 1.232 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001615/1.146, allocations: 464 kB / 1.232 GB, free: 8.758 MB / 0.7292 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 () * Number of clocked 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.008667/1.154, allocations: 4.605 MB / 1.237 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.008484/1.163, allocations: 3.675 MB / 1.24 GB, free: 252 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/1.163, allocations: 4 kB / 1.24 GB, free: 248 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005097/1.168, allocations: 2.403 MB / 1.243 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/1.17, allocations: 476.6 kB / 1.243 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02729/1.198, allocations: 16.29 MB / 1.259 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/1.199, allocations: 1.419 MB / 1.261 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001744/1.201, allocations: 383.8 kB / 1.261 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008459/1.201, allocations: 0.5969 MB / 1.261 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of SimCode: time 9.71e-07/1.201, allocations: 0 / 1.261 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07078/1.272, allocations: 41.48 MB / 1.302 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/1.272, allocations: 214.6 kB / 1.302 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.374/4.647, allocations: 0 / 1.302 GB, free: 0.8086 MB / 0.7917 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)