Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 92.23 kB / 15.36 MB, free: 0.7383 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.01341/0.01341, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.784/1.784, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.694/1.694, allocations: 252 MB / 0.5105 GB, free: 4.73 MB / 414.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.000703/0.000703, allocations: 12 kB / 0.6249 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5454/0.5461, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01372/0.5598, allocations: 10.28 MB / 0.7388 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01491/0.5748, allocations: 8.762 MB / 0.7473 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002059/0.5769, allocations: 47.69 kB / 0.7474 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.5784, allocations: 273.8 kB / 0.7476 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0064/0.5849, allocations: 1.41 MB / 0.749 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002539/0.5874, allocations: 0.6077 MB / 0.7496 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0048/0.5922, allocations: 2.906 MB / 0.7524 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004727/0.597, allocations: 1.953 MB / 0.7544 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/0.5992, allocations: 0.8167 MB / 0.7552 GB, free: 100 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.6013, allocations: 0.9453 MB / 0.7561 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004385/0.6017, allocations: 60 kB / 0.7561 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00219/0.6039, allocations: 0.8811 MB / 0.757 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008306/0.6048, allocations: 494.3 kB / 0.7575 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001504/0.6063, allocations: 0.798 MB / 0.7582 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004027/0.6104, allocations: 2.495 MB / 0.7607 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6104, allocations: 3.938 kB / 0.7607 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6104, allocations: 0 / 0.7607 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.379e-05/0.6105, allocations: 0 / 0.7607 GB, free: 10.41 MB / 0.5762 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.003746/0.6142, allocations: 1.706 MB / 0.7624 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.6143, allocations: 8.031 kB / 0.7624 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01198/0.6263, allocations: 2.116 MB / 0.7644 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002792/0.6291, allocations: 1.123 MB / 0.7655 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.6293, allocations: 86.69 kB / 0.7656 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005043/0.6299, allocations: 120.1 kB / 0.7657 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00716/0.637, allocations: 2.502 MB / 0.7682 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.029e-05/0.6372, allocations: 11.84 kB / 0.7682 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002536/0.6374, allocations: 48 kB / 0.7682 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003929/0.6378, allocations: 134.1 kB / 0.7683 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008433/0.6463, allocations: 2.588 MB / 0.7709 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01739/0.6637, allocations: 10.11 MB / 0.7807 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006813/0.6706, allocations: 2.007 MB / 0.7827 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003158/0.6738, allocations: 0.9933 MB / 0.7837 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.67e-05/0.6739, allocations: 8.438 kB / 0.7837 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.313e-05/0.6739, allocations: 39 kB / 0.7837 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.865e-06/0.6739, allocations: 4 kB / 0.7837 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.03254/0.7065, allocations: 8.769 MB / 0.7923 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.7066, allocations: 60.06 kB / 0.7923 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/0.7085, allocations: 1.112 MB / 0.7934 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001723/0.7087, allocations: 41.7 kB / 0.7935 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005765/0.7093, allocations: 0.734 MB / 0.7942 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003273/0.7096, allocations: 283.9 kB / 0.7945 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.7098, allocations: 73.69 kB / 0.7945 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.7099, allocations: 345.9 kB / 0.7949 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003166/0.7131, allocations: 1.095 MB / 0.7959 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003285/0.7164, allocations: 1.325 MB / 0.7972 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006463/0.7229, allocations: 2.425 MB / 0.7996 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.723, allocations: 3.938 kB / 0.7996 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009245/0.7322, allocations: 3.32 MB / 0.8028 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.7323, allocations: 12 kB / 0.8029 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.7323, allocations: 4 kB / 0.8029 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002772/0.7351, allocations: 0.7833 MB / 0.8036 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/0.7373, allocations: 431.2 kB / 0.804 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01594/0.7532, allocations: 14.71 MB / 0.8184 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/0.7557, allocations: 303.6 kB / 0.8187 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/0.7559, allocations: 51.95 kB / 0.8187 GB, free: 12.54 MB / 0.6387 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.000835/0.7567, allocations: 397.4 kB / 0.8191 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000332/0.7571, allocations: 150.3 kB / 0.8193 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009209/0.7663, allocations: 3.241 MB / 0.8224 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.7663, allocations: 8 kB / 0.8224 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-05/0.7664, allocations: 8 kB / 0.8224 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.7664, allocations: 8.156 kB / 0.8224 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/0.7783, allocations: 4.952 MB / 0.8273 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.7783, allocations: 7.938 kB / 0.8273 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/0.78, allocations: 355.4 kB / 0.8276 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002562/0.7826, allocations: 0.7136 MB / 0.8283 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001442/0.7828, allocations: 27.97 kB / 0.8283 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01531/0.7981, allocations: 14.31 MB / 0.8423 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.7982, allocations: 7.969 kB / 0.8423 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008956/0.8071, allocations: 3.085 MB / 0.8453 GB, free: 15.93 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008286/0.808, allocations: 383.1 kB / 0.8457 GB, free: 15.54 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000344/0.8084, allocations: 23.94 kB / 0.8457 GB, free: 15.51 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002146/0.8105, allocations: 303.5 kB / 0.846 GB, free: 15.21 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002805/0.8108, allocations: 84.42 kB / 0.8461 GB, free: 15.13 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.8109, allocations: 40.16 kB / 0.8461 GB, free: 15.09 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001316/0.8123, allocations: 0.7327 MB / 0.8469 GB, free: 14.36 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.4e-07/0.8123, allocations: 3.938 kB / 0.8469 GB, free: 14.36 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001969/0.8143, allocations: 435.9 kB / 0.8473 GB, free: 13.93 MB / 0.67 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.0003362/0.8146, allocations: 131.1 kB / 0.8474 GB, free: 13.79 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008854/0.8235, allocations: 3.652 MB / 0.851 GB, free: 10.03 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.8235, allocations: 4.062 kB / 0.851 GB, free: 10.03 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005222/0.8288, allocations: 2.399 MB / 0.8533 GB, free: 7.523 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003343/0.8321, allocations: 487 kB / 0.8538 GB, free: 7.051 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009533/0.8417, allocations: 4.092 MB / 0.8578 GB, free: 2.902 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00138/0.8431, allocations: 1.384 MB / 0.8591 GB, free: 1.484 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002062/0.8452, allocations: 383.9 kB / 0.8595 GB, free: 1.105 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004986/0.8458, allocations: 107.4 kB / 0.8596 GB, free: 1.004 MB / 0.67 GB Notification: Performance of SimCode: time 2.505e-06/0.8458, allocations: 0 / 0.8596 GB, free: 1.004 MB / 0.67 GB Notification: Performance of Templates: time 0.05348/0.8993, allocations: 28.87 MB / 0.8878 GB, free: 4.52 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: