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.001332/0.001332, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.236/1.236, allocations: 205.1 MB / 222.4 MB, free: 4.645 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.533/1.533, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001251/0.001251, allocations: 68.53 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1637, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01142/0.1752, allocations: 10.82 MB / 0.7941 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01085/0.186, allocations: 8.863 MB / 0.8027 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008628/0.1869, allocations: 59.69 kB / 0.8028 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003581/0.1905, allocations: 1.663 MB / 0.8044 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003224/0.1938, allocations: 1.537 MB / 0.8059 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.1951, allocations: 0.6772 MB / 0.8066 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002316/0.1975, allocations: 2.282 MB / 0.8088 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.1989, allocations: 1.38 MB / 0.8101 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.2001, allocations: 0.9809 MB / 0.8111 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.2013, allocations: 1.019 MB / 0.8121 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001897/0.2015, allocations: 136 kB / 0.8122 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.2029, allocations: 0.7993 MB / 0.813 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004511/0.2034, allocations: 0.5725 MB / 0.8136 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007377/0.2041, allocations: 0.8823 MB / 0.8144 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002246/0.2063, allocations: 2.539 MB / 0.8169 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2064, allocations: 3.938 kB / 0.8169 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2064, allocations: 0 / 0.8169 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.817e-05/0.2064, allocations: 4 kB / 0.8169 GB, free: 11 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.002717/0.2091, allocations: 2.016 MB / 0.8189 GB, free: 8.934 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.2092, allocations: 8.031 kB / 0.8189 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000198/0.2094, allocations: 194.1 kB / 0.8191 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/0.2196, allocations: 2.05 MB / 0.8211 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001609/0.2212, allocations: 1.13 MB / 0.8222 GB, free: 5.484 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.517e-05/0.2213, allocations: 86.69 kB / 0.8222 GB, free: 5.398 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.2215, allocations: 115.9 kB / 0.8224 GB, free: 5.285 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00455/0.226, allocations: 2.482 MB / 0.8248 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.636e-05/0.2261, allocations: 7.906 kB / 0.8248 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.2262, allocations: 51.98 kB / 0.8248 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003038/0.2265, allocations: 134.1 kB / 0.825 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006688/0.2332, allocations: 2.541 MB / 0.8274 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01127/0.2445, allocations: 10.07 MB / 0.8373 GB, free: 5.184 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005695/0.2502, allocations: 1.952 MB / 0.8392 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002489/0.2527, allocations: 0.9698 MB / 0.8401 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.241e-05/0.2528, allocations: 12.38 kB / 0.8401 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.2528, allocations: 43 kB / 0.8402 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 2.404e-06/0.2528, allocations: 0 / 0.8402 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.02764/0.2805, allocations: 8.707 MB / 0.8487 GB, free: 9.395 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.2806, allocations: 64 kB / 0.8487 GB, free: 9.316 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.2817, allocations: 1.101 MB / 0.8498 GB, free: 8.199 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.788e-05/0.2818, allocations: 45.64 kB / 0.8499 GB, free: 8.148 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004252/0.2823, allocations: 0.7263 MB / 0.8506 GB, free: 7.414 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/0.2825, allocations: 287.9 kB / 0.8509 GB, free: 7.129 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003344/0.2828, allocations: 206.4 kB / 0.851 GB, free: 6.922 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2829, allocations: 341.9 kB / 0.8514 GB, free: 6.582 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002695/0.2856, allocations: 1.075 MB / 0.8524 GB, free: 5.504 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002819/0.2884, allocations: 1.305 MB / 0.8537 GB, free: 4.105 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005543/0.294, allocations: 2.382 MB / 0.856 GB, free: 1.633 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.294, allocations: 4 kB / 0.856 GB, free: 1.629 MB / 0.67 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007884/0.3019, allocations: 3.273 MB / 0.8592 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.3019, allocations: 8 kB / 0.8592 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.302, allocations: 8 kB / 0.8592 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002393/0.3044, allocations: 0.795 MB / 0.86 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/0.3061, allocations: 423.2 kB / 0.8604 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01343/0.3195, allocations: 15.93 MB / 0.876 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/0.3214, allocations: 287.5 kB / 0.8762 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.3215, allocations: 47.97 kB / 0.8763 GB, free: 11.69 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.0006035/0.3221, allocations: 408.8 kB / 0.8767 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/0.3223, allocations: 142.3 kB / 0.8768 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007979/0.3303, allocations: 3.202 MB / 0.8799 GB, free: 7.898 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.3303, allocations: 8 kB / 0.88 GB, free: 7.891 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.3303, allocations: 8 kB / 0.88 GB, free: 7.883 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3304, allocations: 7.984 kB / 0.88 GB, free: 7.875 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009716/0.3401, allocations: 4.912 MB / 0.8848 GB, free: 2.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.3401, allocations: 0 / 0.8848 GB, free: 2.84 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/0.3416, allocations: 351.4 kB / 0.8851 GB, free: 2.496 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002036/0.3436, allocations: 0.7054 MB / 0.8858 GB, free: 1.766 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-05/0.3437, allocations: 35.95 kB / 0.8858 GB, free: 1.73 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0127/0.3564, allocations: 15.54 MB / 0.901 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.3565, allocations: 4 kB / 0.901 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007185/0.3636, allocations: 3.038 MB / 0.904 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005191/0.3642, allocations: 383.2 kB / 0.9043 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.3644, allocations: 20 kB / 0.9044 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/0.3661, allocations: 295.6 kB / 0.9046 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.3662, allocations: 76.5 kB / 0.9047 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.079e-05/0.3663, allocations: 51.89 kB / 0.9048 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008004/0.3671, allocations: 0.7366 MB / 0.9055 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.303e-06/0.3671, allocations: 0 / 0.9055 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001143/0.3683, allocations: 435.9 kB / 0.9059 GB, free: 11.95 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.007511/0.3758, allocations: 3.612 MB / 0.9094 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00788/0.3837, allocations: 3.765 MB / 0.9131 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.3837, allocations: 0 / 0.9131 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004448/0.3882, allocations: 2.368 MB / 0.9154 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002062/0.3902, allocations: 0.5239 MB / 0.9159 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2911/0.6813, allocations: 16.56 MB / 0.9321 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000804/0.6821, allocations: 1.383 MB / 0.9335 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001326/0.6835, allocations: 375.6 kB / 0.9338 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006398/0.6841, allocations: 0.5966 MB / 0.9344 GB, free: 123.1 MB / 0.7325 GB Notification: Performance of SimCode: time 7.82e-07/0.6841, allocations: 0.6562 kB / 0.9344 GB, free: 123.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8893/1.573, allocations: 41.22 MB / 0.9747 GB, free: 100.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/11.91, allocations: 6.438 kB / 0.9747 GB, free: 100.3 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)