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.46/1.46, allocations: 288.4 MB / 303.6 MB, free: 8.176 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.0008609/0.0008609, allocations: 187 kB / 372.3 MB, free: 10.15 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.123/1.123, allocations: 205.4 MB / 0.631 GB, free: 9.926 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.0007029/0.0007029, allocations: 102.8 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003593, allocations: 16.44 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.157, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.006778/0.1638, allocations: 9.709 MB / 0.9897 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007173/0.171, allocations: 8.256 MB / 0.9977 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004384/0.1714, allocations: 47.69 kB / 0.9978 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004534/0.1719, allocations: 265.8 kB / 0.998 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001959/0.1739, allocations: 1.335 MB / 0.9993 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008129/0.1747, allocations: 0.4972 MB / 0.9998 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001361/0.1761, allocations: 2.473 MB / 1.002 GB, free: 4.602 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002065/0.1781, allocations: 1.92 MB / 1.004 GB, free: 2.633 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007017/0.1789, allocations: 0.7897 MB / 1.005 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007547/0.1796, allocations: 0.9104 MB / 1.006 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.1797, allocations: 60 kB / 1.006 GB, free: 0.8672 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009087/0.1807, allocations: 0.8421 MB / 1.007 GB, free: 24 kB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003797/0.181, allocations: 482.4 kB / 1.007 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005955/0.1816, allocations: 0.7634 MB / 1.008 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.1832, allocations: 1.979 MB / 1.01 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1832, allocations: 0 / 1.01 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1832, allocations: 0 / 1.01 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.1832, allocations: 4 kB / 1.01 GB, free: 12.79 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.00225/0.1854, allocations: 1.718 MB / 1.011 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1855, allocations: 8.031 kB / 1.011 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001947/0.1857, allocations: 190.1 kB / 1.012 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009798/0.1955, allocations: 2.113 MB / 1.014 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.1973, allocations: 1.115 MB / 1.015 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.721e-05/0.1974, allocations: 94.69 kB / 1.015 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.1976, allocations: 127.8 kB / 1.015 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0048/0.2024, allocations: 2.49 MB / 1.017 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.229e-05/0.2024, allocations: 4 kB / 1.017 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.2026, allocations: 59.92 kB / 1.018 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003027/0.2029, allocations: 130.1 kB / 1.018 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006468/0.2093, allocations: 2.584 MB / 1.02 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0108/0.2202, allocations: 10.11 MB / 1.03 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005671/0.2258, allocations: 1.991 MB / 1.032 GB, free: 5.094 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0025/0.2284, allocations: 0.9912 MB / 1.033 GB, free: 4.102 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.236e-05/0.2284, allocations: 12.36 kB / 1.033 GB, free: 4.086 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.2284, allocations: 39 kB / 1.033 GB, free: 4.039 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 2.013e-06/0.2285, allocations: 0 / 1.033 GB, free: 4.039 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.02761/0.2561, allocations: 8.777 MB / 1.042 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.2561, allocations: 64 kB / 1.042 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.2573, allocations: 1.081 MB / 1.043 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.211e-05/0.2574, allocations: 37.7 kB / 1.043 GB, free: 9.984 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.00043/0.2578, allocations: 0.7457 MB / 1.043 GB, free: 9.23 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/0.2581, allocations: 283.9 kB / 1.044 GB, free: 8.949 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-05/0.2582, allocations: 20 kB / 1.044 GB, free: 8.93 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.261e-05/0.2582, allocations: 337.9 kB / 1.044 GB, free: 8.594 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002686/0.2609, allocations: 1.095 MB / 1.045 GB, free: 7.496 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002777/0.2637, allocations: 1.325 MB / 1.046 GB, free: 6.074 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005546/0.2693, allocations: 2.417 MB / 1.049 GB, free: 3.562 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.2693, allocations: 0 / 1.049 GB, free: 3.562 MB / 0.6667 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007861/0.2772, allocations: 3.311 MB / 1.052 GB, free: 220 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.2772, allocations: 8 kB / 1.052 GB, free: 212 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.2772, allocations: 4.875 kB / 1.052 GB, free: 208 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002458/0.2797, allocations: 0.791 MB / 1.053 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.2814, allocations: 423.2 kB / 1.053 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.309/0.5904, allocations: 14.68 MB / 1.068 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002177/0.5926, allocations: 306.9 kB / 1.068 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.5928, allocations: 51.08 kB / 1.068 GB, free: 82.84 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.0006972/0.5935, allocations: 393.6 kB / 1.068 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.5937, allocations: 144.3 kB / 1.068 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008137/0.6018, allocations: 3.242 MB / 1.072 GB, free: 82.61 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.6019, allocations: 8.406 kB / 1.072 GB, free: 82.61 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.669e-05/0.6019, allocations: 11.59 kB / 1.072 GB, free: 82.61 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.6019, allocations: 8.156 kB / 1.072 GB, free: 82.61 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/0.6125, allocations: 4.935 MB / 1.076 GB, free: 80.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.6125, allocations: 6.688 kB / 1.076 GB, free: 80.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00161/0.6142, allocations: 370.7 kB / 1.077 GB, free: 80.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002169/0.6163, allocations: 0.6921 MB / 1.077 GB, free: 80.77 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.139e-05/0.6164, allocations: 36.36 kB / 1.077 GB, free: 80.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/0.6274, allocations: 14.32 MB / 1.091 GB, free: 68.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.6275, allocations: 6.906 kB / 1.091 GB, free: 68.77 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007837/0.6353, allocations: 3.073 MB / 1.094 GB, free: 67.79 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006246/0.636, allocations: 393.7 kB / 1.095 GB, free: 67.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.6361, allocations: 21.78 kB / 1.095 GB, free: 67.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/0.6379, allocations: 301 kB / 1.095 GB, free: 67.52 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002562/0.6381, allocations: 80.91 kB / 1.095 GB, free: 67.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.253e-05/0.6382, allocations: 40.02 kB / 1.095 GB, free: 67.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008298/0.6391, allocations: 0.7271 MB / 1.096 GB, free: 67.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.62e-07/0.6391, allocations: 0 / 1.096 GB, free: 67.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001318/0.6404, allocations: 434.2 kB / 1.096 GB, free: 67.16 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.008715/0.6491, allocations: 3.648 MB / 1.1 GB, free: 65.55 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008033/0.6572, allocations: 3.653 MB / 1.104 GB, free: 63.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6572, allocations: 0 / 1.104 GB, free: 63.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00419/0.6614, allocations: 2.401 MB / 1.106 GB, free: 62.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/0.6638, allocations: 468.7 kB / 1.106 GB, free: 62.41 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02092/0.6847, allocations: 11.99 MB / 1.118 GB, free: 54.96 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007603/0.6855, allocations: 1.385 MB / 1.119 GB, free: 53.93 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001441/0.6869, allocations: 385.1 kB / 1.12 GB, free: 53.73 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006311/0.6876, allocations: 0.5917 MB / 1.12 GB, free: 53.22 MB / 0.6823 GB Notification: Performance of SimCode: time 5.01e-07/0.6876, allocations: 0 / 1.12 GB, free: 53.22 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9976/1.685, allocations: 40.63 MB / 1.16 GB, free: 18.85 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/1.685, allocations: 220.9 kB / 1.16 GB, free: 18.61 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.356/5.041, allocations: 0 / 1.16 GB, free: 18.61 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)