Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.62/2.62, allocations: 251.3 MB / 266.2 MB, free: 11.51 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001335/0.001335, allocations: 186.3 kB / 325.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.502/2.502, allocations: 205.4 MB / 0.5767 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 83.91 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005194/0.0005196, allocations: 12.25 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2187, allocations: 106.3 MB / 0.899 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01348/0.2323, allocations: 9.72 MB / 0.9085 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01557/0.2479, allocations: 8.272 MB / 0.9166 GB, free: 47.34 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.2496, allocations: 47.69 kB / 0.9167 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.2509, allocations: 269.8 kB / 0.9169 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005323/0.2562, allocations: 1.264 MB / 0.9181 GB, free: 45.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.2585, allocations: 460.8 kB / 0.9186 GB, free: 45.31 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003821/0.2623, allocations: 2.467 MB / 0.921 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004502/0.2669, allocations: 1.856 MB / 0.9228 GB, free: 40.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002097/0.269, allocations: 0.7974 MB / 0.9236 GB, free: 40.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/0.271, allocations: 0.9027 MB / 0.9245 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003419/0.2714, allocations: 60 kB / 0.9245 GB, free: 39.17 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.2731, allocations: 459.4 kB / 0.925 GB, free: 38.72 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0006107/0.2737, allocations: 482.4 kB / 0.9254 GB, free: 38.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005777/0.2743, allocations: 336.8 kB / 0.9257 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003129/0.2775, allocations: 1.96 MB / 0.9277 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.2775, allocations: 0 / 0.9277 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.537e-06/0.2775, allocations: 4 kB / 0.9277 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.821e-05/0.2776, allocations: 0 / 0.9277 GB, free: 35.95 MB / 0.6042 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.004381/0.282, allocations: 1.734 MB / 0.9294 GB, free: 34.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.2821, allocations: 12.03 kB / 0.9294 GB, free: 34.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01943/0.3015, allocations: 2.105 MB / 0.9314 GB, free: 32.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003149/0.3047, allocations: 1.081 MB / 0.9325 GB, free: 30.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.804e-05/0.3048, allocations: 86.7 kB / 0.9326 GB, free: 30.81 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003363/0.3052, allocations: 128 kB / 0.9327 GB, free: 30.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009016/0.3142, allocations: 2.486 MB / 0.9351 GB, free: 28.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.542e-05/0.3143, allocations: 11.94 kB / 0.9351 GB, free: 28.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002466/0.3146, allocations: 51.98 kB / 0.9352 GB, free: 27.99 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005904/0.3152, allocations: 126.1 kB / 0.9353 GB, free: 27.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01306/0.3283, allocations: 2.58 MB / 0.9378 GB, free: 25.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01943/0.3478, allocations: 10.12 MB / 0.9477 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/0.3587, allocations: 2.003 MB / 0.9496 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004902/0.3637, allocations: 1.001 MB / 0.9506 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.642e-05/0.3638, allocations: 4.438 kB / 0.9506 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.3639, allocations: 39 kB / 0.9507 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=53): time 4.138e-06/0.3639, allocations: 0 / 0.9507 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81): time 0.0533/0.4172, allocations: 8.773 MB / 0.9592 GB, free: 2.562 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.4173, allocations: 60.06 kB / 0.9593 GB, free: 2.492 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.4191, allocations: 1.085 MB / 0.9604 GB, free: 1.391 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002352/0.4193, allocations: 41.7 kB / 0.9604 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005657/0.4199, allocations: 0.7379 MB / 0.9611 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003674/0.4203, allocations: 280 kB / 0.9614 GB, free: 328 kB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.4205, allocations: 16 kB / 0.9614 GB, free: 312 kB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4206, allocations: 345.9 kB / 0.9617 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005748/0.4264, allocations: 1.091 MB / 0.9628 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005969/0.4324, allocations: 1.328 MB / 0.9641 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005871/0.4383, allocations: 1.146 MB / 0.9652 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.4384, allocations: 0 / 0.9652 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0165/0.4549, allocations: 3.311 MB / 0.9684 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.4549, allocations: 11.94 kB / 0.9685 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/0.455, allocations: 8.875 kB / 0.9685 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004917/0.4599, allocations: 0.7872 MB / 0.9692 GB, free: 8.117 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003776/0.4637, allocations: 427.2 kB / 0.9696 GB, free: 7.699 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02407/0.4878, allocations: 14.68 MB / 0.984 GB, free: 7.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004135/0.492, allocations: 295.5 kB / 0.9843 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002584/0.4923, allocations: 51.97 kB / 0.9843 GB, free: 7.609 MB / 0.6355 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.001156/0.4935, allocations: 401.5 kB / 0.9847 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004307/0.4939, allocations: 142.3 kB / 0.9848 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01621/0.5102, allocations: 3.241 MB / 0.988 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.5102, allocations: 8 kB / 0.988 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/0.5102, allocations: 8 kB / 0.988 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.5103, allocations: 3.984 kB / 0.988 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02036/0.5306, allocations: 4.943 MB / 0.9928 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/0.5307, allocations: 7.984 kB / 0.9928 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003288/0.534, allocations: 363.7 kB / 0.9932 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004358/0.5384, allocations: 0.7018 MB / 0.9939 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002322/0.5387, allocations: 31.91 kB / 0.9939 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02328/0.562, allocations: 14.32 MB / 1.008 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/0.562, allocations: 7.938 kB / 1.008 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01525/0.5773, allocations: 3.081 MB / 1.011 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/0.5787, allocations: 383.1 kB / 1.011 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004148/0.5792, allocations: 23.94 kB / 1.011 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003786/0.583, allocations: 303.5 kB / 1.012 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000404/0.5834, allocations: 76.48 kB / 1.012 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001983/0.5836, allocations: 44.14 kB / 1.012 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00172/0.5854, allocations: 0.721 MB / 1.012 GB, free: 9.469 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.92e-07/0.5854, allocations: 4 kB / 1.012 GB, free: 9.465 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002454/0.5879, allocations: 435.9 kB / 1.013 GB, free: 9.039 MB / 0.6667 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.0003818/0.5883, allocations: 133.5 kB / 1.013 GB, free: 8.898 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01559/0.6039, allocations: 3.652 MB / 1.017 GB, free: 5.137 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/0.604, allocations: 0 / 1.017 GB, free: 5.137 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.009148/0.6131, allocations: 2.387 MB / 1.019 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004118/0.6173, allocations: 490.4 kB / 1.019 GB, free: 2.172 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/0.6307, allocations: 3.947 MB / 1.023 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001525/0.6323, allocations: 1.388 MB / 1.025 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00275/0.6351, allocations: 379.9 kB / 1.025 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007009/0.6358, allocations: 107.4 kB / 1.025 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of SimCode: time 8.31e-07/0.6358, allocations: 3.938 kB / 1.025 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of Templates: time 0.07719/0.713, allocations: 28.11 MB / 1.052 GB, free: 488 kB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)