Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 191 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.225/1.225, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.574/1.574, allocations: 292.3 MB / 0.5484 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001328, allocations: 67.61 kB / 0.6709 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1735, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01136/0.1849, allocations: 10.78 MB / 0.7933 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01141/0.1964, allocations: 8.86 MB / 0.802 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008855/0.1973, allocations: 55.62 kB / 0.802 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003428/0.2007, allocations: 1.561 MB / 0.8036 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003216/0.204, allocations: 1.402 MB / 0.8049 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.2054, allocations: 0.6091 MB / 0.8055 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002388/0.2077, allocations: 2.917 MB / 0.8084 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/0.2094, allocations: 1.325 MB / 0.8097 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.2105, allocations: 0.8831 MB / 0.8105 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.2116, allocations: 1.035 MB / 0.8115 GB, free: 388 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.2117, allocations: 84 kB / 0.8116 GB, free: 304 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.2132, allocations: 0.9085 MB / 0.8125 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004341/0.2136, allocations: 0.5178 MB / 0.813 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007094/0.2143, allocations: 0.8276 MB / 0.8138 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002119/0.2164, allocations: 2.546 MB / 0.8163 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2165, allocations: 4 kB / 0.8163 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of FrontEnd: time 7.12e-07/0.2165, allocations: 0 / 0.8163 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.902e-05/0.2165, allocations: 0 / 0.8163 GB, free: 11.48 MB / 0.6387 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.002914/0.2194, allocations: 2.018 MB / 0.8183 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.2195, allocations: 12.03 kB / 0.8183 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002018/0.2197, allocations: 186.1 kB / 0.8185 GB, free: 9.199 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/0.2298, allocations: 2.05 MB / 0.8205 GB, free: 7.145 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/0.2316, allocations: 1.119 MB / 0.8216 GB, free: 5.969 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.028e-05/0.2317, allocations: 90.69 kB / 0.8216 GB, free: 5.879 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/0.2319, allocations: 115.9 kB / 0.8218 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004871/0.2368, allocations: 2.482 MB / 0.8242 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/0.2368, allocations: 15.84 kB / 0.8242 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/0.237, allocations: 47.98 kB / 0.8242 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003231/0.2373, allocations: 130.1 kB / 0.8244 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006382/0.2437, allocations: 2.549 MB / 0.8269 GB, free: 392 kB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01192/0.2557, allocations: 10.07 MB / 0.8367 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00528/0.261, allocations: 1.944 MB / 0.8386 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002383/0.2634, allocations: 0.9776 MB / 0.8395 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.764e-05/0.2634, allocations: 4.438 kB / 0.8395 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.2635, allocations: 39 kB / 0.8396 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 2.194e-06/0.2635, allocations: 0 / 0.8396 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.02858/0.2921, allocations: 8.711 MB / 0.8481 GB, free: 9.879 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.2921, allocations: 64 kB / 0.8481 GB, free: 9.801 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.2934, allocations: 1.105 MB / 0.8492 GB, free: 8.68 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.34e-05/0.2935, allocations: 37.7 kB / 0.8493 GB, free: 8.637 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004669/0.294, allocations: 0.7302 MB / 0.85 GB, free: 7.898 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/0.2943, allocations: 283.9 kB / 0.8502 GB, free: 7.617 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003739/0.2946, allocations: 202.4 kB / 0.8504 GB, free: 7.414 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.2948, allocations: 341.9 kB / 0.8508 GB, free: 7.074 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002654/0.2974, allocations: 1.079 MB / 0.8518 GB, free: 5.992 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002786/0.3002, allocations: 1.309 MB / 0.8531 GB, free: 4.586 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005344/0.3056, allocations: 2.382 MB / 0.8554 GB, free: 2.113 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.3056, allocations: 4 kB / 0.8554 GB, free: 2.109 MB / 0.67 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00797/0.3136, allocations: 3.272 MB / 0.8586 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3136, allocations: 8 kB / 0.8586 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.3136, allocations: 4 kB / 0.8586 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00269/0.3163, allocations: 0.7957 MB / 0.8594 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/0.318, allocations: 423.2 kB / 0.8598 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0139/0.3319, allocations: 14.71 MB / 0.8742 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/0.3339, allocations: 287.5 kB / 0.8745 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.334, allocations: 52.03 kB / 0.8745 GB, free: 13.45 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006371/0.3347, allocations: 397.5 kB / 0.8749 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/0.3349, allocations: 142.3 kB / 0.875 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007838/0.3428, allocations: 3.206 MB / 0.8781 GB, free: 9.656 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.3428, allocations: 8 kB / 0.8782 GB, free: 9.648 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.3428, allocations: 8 kB / 0.8782 GB, free: 9.641 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3428, allocations: 7.922 kB / 0.8782 GB, free: 9.633 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009824/0.3526, allocations: 4.908 MB / 0.883 GB, free: 4.598 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3527, allocations: 0 / 0.883 GB, free: 4.598 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/0.3541, allocations: 355.4 kB / 0.8833 GB, free: 4.25 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002263/0.3564, allocations: 0.6938 MB / 0.884 GB, free: 3.531 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-05/0.3565, allocations: 31.97 kB / 0.884 GB, free: 3.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/0.3696, allocations: 14.32 MB / 0.898 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3696, allocations: 4 kB / 0.898 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007395/0.377, allocations: 3.042 MB / 0.901 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007012/0.3777, allocations: 383.1 kB / 0.9013 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/0.378, allocations: 20 kB / 0.9014 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001648/0.3796, allocations: 291.5 kB / 0.9016 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002527/0.3799, allocations: 84.48 kB / 0.9017 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.283e-05/0.38, allocations: 35.97 kB / 0.9017 GB, free: 176 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009284/0.3809, allocations: 0.7404 MB / 0.9025 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3809, allocations: 0 / 0.9025 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001343/0.3823, allocations: 432 kB / 0.9029 GB, free: 15.01 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007806/0.3901, allocations: 3.619 MB / 0.9064 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007834/0.3979, allocations: 3.633 MB / 0.91 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.398, allocations: 4 kB / 0.91 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004568/0.4025, allocations: 2.36 MB / 0.9123 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/0.4047, allocations: 493.8 kB / 0.9127 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3254/0.7301, allocations: 17.11 MB / 0.9295 GB, free: 125.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009252/0.7311, allocations: 1.385 MB / 0.9308 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001653/0.7328, allocations: 378 kB / 0.9312 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007451/0.7335, allocations: 0.6019 MB / 0.9318 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of SimCode: time 1.002e-06/0.7335, allocations: 0 / 0.9318 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05866/0.7922, allocations: 40.11 MB / 0.9709 GB, free: 103.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000128/0.7924, allocations: 225.3 kB / 0.9711 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/3.326, allocations: 0 / 0.9711 GB, free: 102.9 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)