Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.612/2.612, allocations: 287.5 MB / 302.4 MB, free: 8.246 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.001337/0.001337, allocations: 174.4 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.131/2.131, allocations: 205.4 MB / 0.6297 GB, free: 10.63 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.0009306/0.0009305, allocations: 96.38 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006617/0.000662, allocations: 12.8 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1993, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01355/0.2129, allocations: 9.713 MB / 0.9879 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01536/0.2283, allocations: 8.245 MB / 0.996 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.2299, allocations: 47.69 kB / 0.996 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.2312, allocations: 277.7 kB / 0.9963 GB, free: 9.934 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005126/0.2363, allocations: 1.255 MB / 0.9975 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002134/0.2385, allocations: 472 kB / 0.998 GB, free: 8.215 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003805/0.2423, allocations: 2.459 MB / 1 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004443/0.2468, allocations: 1.768 MB / 1.002 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.2487, allocations: 0.7897 MB / 1.003 GB, free: 3.148 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00183/0.2506, allocations: 0.9144 MB / 1.004 GB, free: 2.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003071/0.2509, allocations: 60 kB / 1.004 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.2526, allocations: 455.4 kB / 1.004 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005643/0.2532, allocations: 478.4 kB / 1.005 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004939/0.2537, allocations: 340.8 kB / 1.005 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003701/0.2574, allocations: 1.956 MB / 1.007 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.2575, allocations: 0 / 1.007 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.896e-06/0.2575, allocations: 0 / 1.007 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.405e-05/0.2576, allocations: 0 / 1.007 GB, free: 14.96 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.00537/0.263, allocations: 1.741 MB / 1.009 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.257e-05/0.2631, allocations: 16.02 kB / 1.009 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006467/0.2637, allocations: 185.9 kB / 1.009 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02932/0.2931, allocations: 2.112 MB / 1.011 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005091/0.2982, allocations: 1.079 MB / 1.012 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.2984, allocations: 82.33 kB / 1.012 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006899/0.2991, allocations: 116 kB / 1.012 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01505/0.3142, allocations: 2.506 MB / 1.015 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.233e-05/0.3144, allocations: 7.844 kB / 1.015 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003859/0.3148, allocations: 55.98 kB / 1.015 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009112/0.3157, allocations: 130.1 kB / 1.015 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02176/0.3375, allocations: 2.58 MB / 1.017 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03121/0.3687, allocations: 10.11 MB / 1.027 GB, free: 9.293 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01236/0.3812, allocations: 2.008 MB / 1.029 GB, free: 7.254 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005467/0.3867, allocations: 0.9894 MB / 1.03 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.3868, allocations: 4.438 kB / 1.03 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.69e-05/0.3869, allocations: 46.98 kB / 1.03 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 4.348e-06/0.3869, allocations: 0 / 1.03 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.08165/0.4686, allocations: 8.773 MB / 1.039 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.4687, allocations: 60.06 kB / 1.039 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/0.4709, allocations: 1.089 MB / 1.04 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000259/0.4712, allocations: 37.7 kB / 1.04 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009192/0.4722, allocations: 0.7301 MB / 1.041 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005148/0.4727, allocations: 287.9 kB / 1.041 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.4729, allocations: 16 kB / 1.041 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.4731, allocations: 349.9 kB / 1.041 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005894/0.479, allocations: 1.091 MB / 1.042 GB, free: 9.668 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006141/0.4852, allocations: 1.321 MB / 1.044 GB, free: 8.25 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005935/0.4912, allocations: 1.143 MB / 1.045 GB, free: 7.109 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/0.4912, allocations: 4 kB / 1.045 GB, free: 7.105 MB / 0.6667 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01689/0.5081, allocations: 3.308 MB / 1.048 GB, free: 3.762 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.5082, allocations: 8 kB / 1.048 GB, free: 3.754 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/0.5082, allocations: 12.06 kB / 1.048 GB, free: 3.742 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004941/0.5132, allocations: 0.7832 MB / 1.049 GB, free: 2.934 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003775/0.517, allocations: 423.2 kB / 1.049 GB, free: 2.52 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02507/0.5421, allocations: 14.68 MB / 1.063 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003961/0.5461, allocations: 299.5 kB / 1.064 GB, free: 2.473 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002238/0.5464, allocations: 52.03 kB / 1.064 GB, free: 2.422 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.001112/0.5475, allocations: 398.8 kB / 1.064 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004828/0.548, allocations: 146.5 kB / 1.064 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6568/1.205, allocations: 3.23 MB / 1.067 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.33e-05/1.205, allocations: 11.16 kB / 1.067 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.887e-05/1.205, allocations: 7.844 kB / 1.067 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.15e-05/1.205, allocations: 4.453 kB / 1.067 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03061/1.236, allocations: 4.933 MB / 1.072 GB, free: 83.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.858e-05/1.236, allocations: 4.078 kB / 1.072 GB, free: 83.22 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003348/1.239, allocations: 369.7 kB / 1.073 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00494/1.244, allocations: 0.6974 MB / 1.073 GB, free: 83 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005901/1.245, allocations: 32.77 kB / 1.073 GB, free: 82.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02067/1.265, allocations: 14.31 MB / 1.087 GB, free: 71.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/1.265, allocations: 7.422 kB / 1.087 GB, free: 71.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0147/1.28, allocations: 3.08 MB / 1.09 GB, free: 70.04 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/1.281, allocations: 382.1 kB / 1.091 GB, free: 69.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003474/1.282, allocations: 18.06 kB / 1.091 GB, free: 69.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003544/1.285, allocations: 304.2 kB / 1.091 GB, free: 69.83 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000392/1.286, allocations: 85.41 kB / 1.091 GB, free: 69.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001821/1.286, allocations: 37.08 kB / 1.091 GB, free: 69.81 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001571/1.287, allocations: 0.7254 MB / 1.092 GB, free: 69.51 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.21e-07/1.287, allocations: 0 / 1.092 GB, free: 69.51 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002338/1.29, allocations: 431.2 kB / 1.092 GB, free: 69.48 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.01483/1.305, allocations: 3.645 MB / 1.096 GB, free: 67.88 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01443/1.319, allocations: 3.657 MB / 1.099 GB, free: 66.22 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.319, allocations: 1.062 kB / 1.099 GB, free: 66.22 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.008021/1.327, allocations: 2.394 MB / 1.102 GB, free: 64.93 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003596/1.331, allocations: 489.7 kB / 1.102 GB, free: 64.79 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04149/1.372, allocations: 11.98 MB / 1.114 GB, free: 58.45 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001286/1.374, allocations: 1.391 MB / 1.115 GB, free: 57.41 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002801/1.377, allocations: 379 kB / 1.116 GB, free: 57.21 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002245/1.379, allocations: 0.5903 MB / 1.116 GB, free: 56.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.553e-06/1.379, allocations: 1.438 kB / 1.116 GB, free: 56.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1334/1.512, allocations: 40.29 MB / 1.156 GB, free: 23.89 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002371/1.513, allocations: 228 kB / 1.156 GB, free: 23.63 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.848/5.36, allocations: 3.938 kB / 1.156 GB, free: 23.63 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)