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.743/1.743, allocations: 288.4 MB / 303.3 MB, free: 8.188 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.001098/0.001098, allocations: 191.3 kB / 372 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.625/1.625, allocations: 205.4 MB / 0.6307 GB, free: 9.965 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.0007776/0.0007779, allocations: 90.41 kB / 0.744 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004314, allocations: 14.59 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2567, allocations: 115.3 MB / 0.9797 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01054/0.2673, allocations: 9.705 MB / 0.9891 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0111/0.2785, allocations: 8.256 MB / 0.9972 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001593/0.2801, allocations: 47.69 kB / 0.9972 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.2813, allocations: 265.8 kB / 0.9975 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004627/0.286, allocations: 1.262 MB / 0.9987 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.2879, allocations: 471.5 kB / 0.9992 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003251/0.2912, allocations: 2.45 MB / 1.002 GB, free: 5.016 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003268/0.2945, allocations: 1.782 MB / 1.003 GB, free: 3.191 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/0.296, allocations: 0.7936 MB / 1.004 GB, free: 2.395 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/0.2978, allocations: 0.9026 MB / 1.005 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004095/0.2982, allocations: 63.94 kB / 1.005 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.2997, allocations: 463.3 kB / 1.005 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004125/0.3001, allocations: 478.4 kB / 1.006 GB, free: 0.5039 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003977/0.3005, allocations: 340.8 kB / 1.006 GB, free: 168 kB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002176/0.3027, allocations: 1.952 MB / 1.008 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3027, allocations: 0 / 1.008 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.568e-06/0.3027, allocations: 8 kB / 1.008 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.611e-05/0.3028, allocations: 0 / 1.008 GB, free: 14.2 MB / 0.6355 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.00323/0.306, allocations: 1.737 MB / 1.01 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.3061, allocations: 16.02 kB / 1.01 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002653/0.3063, allocations: 177.9 kB / 1.01 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/0.3176, allocations: 2.116 MB / 1.012 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002516/0.3202, allocations: 1.075 MB / 1.013 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.147e-05/0.3203, allocations: 90.31 kB / 1.013 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000226/0.3205, allocations: 112 kB / 1.013 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005876/0.3264, allocations: 2.502 MB / 1.016 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.457e-05/0.3264, allocations: 11.84 kB / 1.016 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/0.3266, allocations: 55.92 kB / 1.016 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003519/0.327, allocations: 134.1 kB / 1.016 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007468/0.3344, allocations: 2.58 MB / 1.019 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01428/0.3487, allocations: 10.1 MB / 1.028 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006366/0.3552, allocations: 2 MB / 1.03 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002877/0.3581, allocations: 0.9901 MB / 1.031 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.539e-05/0.3581, allocations: 12.41 kB / 1.031 GB, free: 5.512 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.3582, allocations: 39 kB / 1.031 GB, free: 5.465 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 2.064e-06/0.3582, allocations: 0 / 1.031 GB, free: 5.465 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.03216/0.3904, allocations: 8.773 MB / 1.04 GB, free: 12.63 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.3905, allocations: 60.06 kB / 1.04 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.392, allocations: 1.089 MB / 1.041 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001735/0.3922, allocations: 41.7 kB / 1.041 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006175/0.3929, allocations: 0.7379 MB / 1.042 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003223/0.3932, allocations: 279.9 kB / 1.042 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.647e-05/0.3933, allocations: 20 kB / 1.042 GB, free: 10.37 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001932/0.3935, allocations: 345.9 kB / 1.042 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003013/0.3965, allocations: 1.087 MB / 1.043 GB, free: 8.934 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003168/0.3997, allocations: 1.321 MB / 1.045 GB, free: 7.516 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003295/0.403, allocations: 1.146 MB / 1.046 GB, free: 6.371 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.403, allocations: 0 / 1.046 GB, free: 6.371 MB / 0.6667 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009482/0.4125, allocations: 3.308 MB / 1.049 GB, free: 3.027 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.4126, allocations: 12 kB / 1.049 GB, free: 3.016 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.4126, allocations: 8 kB / 1.049 GB, free: 3.008 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002905/0.4155, allocations: 0.7871 MB / 1.05 GB, free: 2.195 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/0.4176, allocations: 427.2 kB / 1.05 GB, free: 1.777 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01645/0.4341, allocations: 14.69 MB / 1.065 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003156/0.4373, allocations: 307.6 kB / 1.065 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002987/0.4376, allocations: 47.97 kB / 1.065 GB, free: 1.672 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.001334/0.439, allocations: 394.8 kB / 1.065 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005411/0.4395, allocations: 146.3 kB / 1.065 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4502/0.8897, allocations: 3.23 MB / 1.069 GB, free: 84.28 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.8898, allocations: 8.172 kB / 1.069 GB, free: 84.28 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.159e-05/0.8898, allocations: 13.25 kB / 1.069 GB, free: 84.28 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/0.8899, allocations: 5.141 kB / 1.069 GB, free: 84.28 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01206/0.9019, allocations: 4.932 MB / 1.073 GB, free: 83.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.902, allocations: 3 kB / 1.073 GB, free: 83.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/0.9037, allocations: 368.1 kB / 1.074 GB, free: 83.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002527/0.9062, allocations: 0.6884 MB / 1.075 GB, free: 82.96 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/0.9063, allocations: 33 kB / 1.075 GB, free: 82.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01279/0.9191, allocations: 14.32 MB / 1.089 GB, free: 70.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.9192, allocations: 7.344 kB / 1.089 GB, free: 70.97 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00853/0.9277, allocations: 3.076 MB / 1.092 GB, free: 70 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000989/0.9287, allocations: 384.7 kB / 1.092 GB, free: 69.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001943/0.929, allocations: 19.39 kB / 1.092 GB, free: 69.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001936/0.9309, allocations: 300.8 kB / 1.092 GB, free: 69.79 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003381/0.9312, allocations: 83.58 kB / 1.092 GB, free: 69.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.9314, allocations: 36.78 kB / 1.092 GB, free: 69.77 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001094/0.9325, allocations: 0.7334 MB / 1.093 GB, free: 69.46 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9325, allocations: 0.5469 kB / 1.093 GB, free: 69.46 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001745/0.9342, allocations: 431.8 kB / 1.093 GB, free: 69.43 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.008165/0.9424, allocations: 3.642 MB / 1.097 GB, free: 67.84 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007787/0.9502, allocations: 3.654 MB / 1.101 GB, free: 66.18 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/0.9502, allocations: 0.9062 kB / 1.101 GB, free: 66.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004561/0.9548, allocations: 2.39 MB / 1.103 GB, free: 64.89 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/0.9571, allocations: 488.9 kB / 1.103 GB, free: 64.76 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02255/0.9797, allocations: 12 MB / 1.115 GB, free: 57.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008793/0.9806, allocations: 1.385 MB / 1.116 GB, free: 56.56 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001657/0.9823, allocations: 379.7 kB / 1.117 GB, free: 56.37 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006341/0.9829, allocations: 0.5904 MB / 1.117 GB, free: 55.86 MB / 0.6823 GB Notification: Performance of SimCode: time 4.71e-07/0.9829, allocations: 0 / 1.117 GB, free: 55.86 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05103/1.034, allocations: 40.32 MB / 1.157 GB, free: 22.52 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001338/1.034, allocations: 222.1 kB / 1.157 GB, free: 22.28 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.07/4.104, allocations: 0 / 1.157 GB, free: 22.28 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)