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.673/1.673, allocations: 288.2 MB / 303.2 MB, free: 8.23 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.001131/0.001131, allocations: 181 kB / 371.8 MB, free: 10.23 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.419/1.419, allocations: 205.4 MB / 0.6305 GB, free: 9.957 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008004/0.0008004, allocations: 98.89 kB / 0.7439 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003587, allocations: 11.59 kB / 0.8669 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1908, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.007572/0.1984, allocations: 9.235 MB / 0.9885 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008888/0.2073, allocations: 8.051 MB / 0.9964 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009877/0.2083, allocations: 51.62 kB / 0.9964 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006149/0.209, allocations: 246.3 kB / 0.9966 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003022/0.212, allocations: 1.258 MB / 0.9979 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.2131, allocations: 479.6 kB / 0.9983 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001342/0.2144, allocations: 1.392 MB / 0.9997 GB, free: 6.809 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002143/0.2166, allocations: 1.77 MB / 1.001 GB, free: 4.996 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008688/0.2175, allocations: 0.7239 MB / 1.002 GB, free: 4.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007656/0.2183, allocations: 0.7354 MB / 1.003 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.2184, allocations: 60 kB / 1.003 GB, free: 3.473 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007624/0.2191, allocations: 403.4 kB / 1.003 GB, free: 3.078 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002662/0.2194, allocations: 442.7 kB / 1.004 GB, free: 2.645 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.2196, allocations: 340.8 kB / 1.004 GB, free: 2.305 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.2209, allocations: 1.909 MB / 1.006 GB, free: 400 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.2209, allocations: 4 kB / 1.006 GB, free: 396 kB / 0.6198 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2209, allocations: 0 / 1.006 GB, free: 396 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.932e-05/0.221, allocations: 4 kB / 1.006 GB, free: 392 kB / 0.6198 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.002682/0.2237, allocations: 1.722 MB / 1.008 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.2237, allocations: 12.02 kB / 1.008 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002304/0.2239, allocations: 193.8 kB / 1.008 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/0.2344, allocations: 2.12 MB / 1.01 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/0.2368, allocations: 1.072 MB / 1.011 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.477e-05/0.2368, allocations: 90.31 kB / 1.011 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002025/0.2371, allocations: 116 kB / 1.011 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005334/0.2424, allocations: 2.482 MB / 1.014 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.158e-05/0.2425, allocations: 11.84 kB / 1.014 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/0.2426, allocations: 55.97 kB / 1.014 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003513/0.243, allocations: 126.1 kB / 1.014 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007171/0.2502, allocations: 2.58 MB / 1.016 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01319/0.2634, allocations: 10.12 MB / 1.026 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005929/0.2694, allocations: 1.999 MB / 1.028 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.493e-05/0.2694, allocations: 8.375 kB / 1.028 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.2695, allocations: 43 kB / 1.028 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 2.254e-06/0.2695, allocations: 0 / 1.028 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.02941/0.2989, allocations: 8.762 MB / 1.037 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.299, allocations: 60.06 kB / 1.037 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.3003, allocations: 1.085 MB / 1.038 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.462e-05/0.3004, allocations: 49.62 kB / 1.038 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005224/0.301, allocations: 0.7341 MB / 1.039 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/0.3012, allocations: 279.9 kB / 1.039 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-05/0.3013, allocations: 20 kB / 1.039 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3015, allocations: 345.9 kB / 1.039 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002838/0.3043, allocations: 1.098 MB / 1.04 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002952/0.3073, allocations: 1.317 MB / 1.042 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002856/0.3101, allocations: 1.15 MB / 1.043 GB, free: 9.559 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3102, allocations: 0 / 1.043 GB, free: 9.559 MB / 0.6667 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008414/0.3186, allocations: 3.311 MB / 1.046 GB, free: 6.211 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.3186, allocations: 8 kB / 1.046 GB, free: 6.203 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.3186, allocations: 4 kB / 1.046 GB, free: 6.199 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002675/0.3213, allocations: 0.7878 MB / 1.047 GB, free: 5.387 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001903/0.3232, allocations: 423.3 kB / 1.047 GB, free: 4.973 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01541/0.3387, allocations: 14.97 MB / 1.062 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/0.341, allocations: 303.6 kB / 1.062 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.3412, allocations: 55.95 kB / 1.062 GB, free: 4.574 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * 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%) 2,(3,100.0%) 5,(3,100.0%) 5,(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.000729/0.3419, allocations: 394.7 kB / 1.062 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002401/0.3421, allocations: 146.3 kB / 1.063 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008691/0.3508, allocations: 3.234 MB / 1.066 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.3509, allocations: 11.95 kB / 1.066 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.3509, allocations: 11.94 kB / 1.066 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.3509, allocations: 7.969 kB / 1.066 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3665/0.7174, allocations: 4.93 MB / 1.071 GB, free: 83.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.7174, allocations: 2.094 kB / 1.071 GB, free: 83.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/0.7192, allocations: 363.5 kB / 1.071 GB, free: 83.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002516/0.7217, allocations: 0.6987 MB / 1.072 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/0.7218, allocations: 36.03 kB / 1.072 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01272/0.7346, allocations: 14.6 MB / 1.086 GB, free: 71.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.7346, allocations: 3.062 kB / 1.086 GB, free: 71.65 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008388/0.743, allocations: 3.228 MB / 1.089 GB, free: 70.44 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009546/0.744, allocations: 382.9 kB / 1.089 GB, free: 70.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.7442, allocations: 15.78 kB / 1.089 GB, free: 70.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001856/0.7461, allocations: 306.8 kB / 1.09 GB, free: 70.24 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002738/0.7464, allocations: 83.06 kB / 1.09 GB, free: 70.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.877e-05/0.7465, allocations: 38.89 kB / 1.09 GB, free: 70.22 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001023/0.7475, allocations: 0.7299 MB / 1.091 GB, free: 69.92 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7475, allocations: 0 / 1.091 GB, free: 69.92 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00139/0.7489, allocations: 435.7 kB / 1.091 GB, free: 69.88 MB / 0.6823 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,(2,100.0%) 2,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00805/0.757, allocations: 4.53 MB / 1.095 GB, free: 67.38 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008163/0.7651, allocations: 3.651 MB / 1.099 GB, free: 65.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.7652, allocations: 4.125 kB / 1.099 GB, free: 65.74 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004616/0.7698, allocations: 2.384 MB / 1.101 GB, free: 64.44 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/0.7719, allocations: 490.1 kB / 1.102 GB, free: 64.32 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02464/0.7965, allocations: 16.46 MB / 1.118 GB, free: 53.52 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/0.7978, allocations: 1.42 MB / 1.119 GB, free: 52.46 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001841/0.7996, allocations: 380.4 kB / 1.12 GB, free: 52.26 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007055/0.8003, allocations: 0.5952 MB / 1.12 GB, free: 51.74 MB / 0.6823 GB Notification: Performance of SimCode: time 7.61e-07/0.8003, allocations: 0 / 1.12 GB, free: 51.74 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05763/0.858, allocations: 40.27 MB / 1.159 GB, free: 19.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001274/0.8582, allocations: 218.4 kB / 1.16 GB, free: 19.17 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.921/3.779, allocations: 0 / 1.16 GB, free: 19.17 MB / 0.6823 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)