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.008063/0.008063, allocations: 104.8 kB / 15.73 MB, free: 6.039 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.001754/0.001754, allocations: 193 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.89/1.89, allocations: 251.7 MB / 0.5094 GB, free: 3.051 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.001448/0.001448, allocations: 67.91 kB / 0.7258 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2866, allocations: 104.7 MB / 0.828 GB, free: 224 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01408/0.3008, allocations: 10.82 MB / 0.8386 GB, free: 5.344 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01613/0.317, allocations: 8.859 MB / 0.8473 GB, free: 12.46 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002359/0.3194, allocations: 55.69 kB / 0.8473 GB, free: 12.4 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005109/0.3246, allocations: 1.679 MB / 0.849 GB, free: 10.72 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006422/0.331, allocations: 1.565 MB / 0.8505 GB, free: 9.148 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002617/0.3337, allocations: 0.6784 MB / 0.8512 GB, free: 8.473 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00488/0.3386, allocations: 2.286 MB / 0.8534 GB, free: 6.18 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002869/0.3415, allocations: 1.38 MB / 0.8547 GB, free: 4.766 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002276/0.3437, allocations: 1.004 MB / 0.8557 GB, free: 3.758 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002257/0.346, allocations: 1.016 MB / 0.8567 GB, free: 2.738 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006031/0.3466, allocations: 140 kB / 0.8568 GB, free: 2.602 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002299/0.349, allocations: 0.7993 MB / 0.8576 GB, free: 1.801 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009542/0.3499, allocations: 0.5648 MB / 0.8582 GB, free: 1.234 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002046/0.352, allocations: 0.89 MB / 0.859 GB, free: 348 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005182/0.3572, allocations: 2.57 MB / 0.8615 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.3572, allocations: 0 / 0.8615 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3572, allocations: 0 / 0.8615 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001006/0.3573, allocations: 4 kB / 0.8616 GB, free: 13.76 MB / 0.6856 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.004114/0.3615, allocations: 2.018 MB / 0.8635 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.3615, allocations: 12.03 kB / 0.8635 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.3716, allocations: 2.046 MB / 0.8655 GB, free: 9.621 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002847/0.3745, allocations: 1.212 MB / 0.8667 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.812e-05/0.3746, allocations: 86.69 kB / 0.8668 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000222/0.3748, allocations: 116 kB / 0.8669 GB, free: 8.152 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005186/0.38, allocations: 2.486 MB / 0.8693 GB, free: 5.516 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.87e-05/0.3801, allocations: 7.938 kB / 0.8693 GB, free: 5.508 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/0.3803, allocations: 52 kB / 0.8694 GB, free: 5.457 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003379/0.3806, allocations: 126.1 kB / 0.8695 GB, free: 5.332 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006433/0.3871, allocations: 2.541 MB / 0.872 GB, free: 2.781 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01352/0.4006, allocations: 10.04 MB / 0.8818 GB, free: 8.074 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005602/0.4062, allocations: 1.948 MB / 0.8837 GB, free: 6.098 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002573/0.4089, allocations: 0.9699 MB / 0.8847 GB, free: 5.125 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 5.604e-05/0.4089, allocations: 8.438 kB / 0.8847 GB, free: 5.117 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.095e-05/0.409, allocations: 39 kB / 0.8847 GB, free: 5.07 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=53): time 3.887e-06/0.409, allocations: 3.938 kB / 0.8847 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of matching and sorting (n=81): time 0.0299/0.4389, allocations: 8.718 MB / 0.8932 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.439, allocations: 64.06 kB / 0.8933 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/0.4409, allocations: 1.093 MB / 0.8943 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001526/0.4411, allocations: 41.7 kB / 0.8944 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005668/0.4417, allocations: 0.7418 MB / 0.8951 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003532/0.442, allocations: 276 kB / 0.8954 GB, free: 10.03 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004505/0.4425, allocations: 202.4 kB / 0.8956 GB, free: 9.828 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4427, allocations: 345.9 kB / 0.8959 GB, free: 9.484 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002845/0.4455, allocations: 1.075 MB / 0.8969 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002892/0.4484, allocations: 1.301 MB / 0.8982 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00542/0.4538, allocations: 2.382 MB / 0.9005 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.4539, allocations: 0 / 0.9005 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00845/0.4623, allocations: 3.272 MB / 0.9037 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.4624, allocations: 8 kB / 0.9037 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/0.4625, allocations: 8 kB / 0.9038 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002845/0.4653, allocations: 0.7956 MB / 0.9045 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001816/0.4671, allocations: 419.3 kB / 0.9049 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7724/1.24, allocations: 15.91 MB / 0.9205 GB, free: 83.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/1.242, allocations: 290 kB / 0.9207 GB, free: 83.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/1.243, allocations: 54.72 kB / 0.9208 GB, free: 83.78 MB / 0.7325 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.0009556/1.244, allocations: 395.8 kB / 0.9212 GB, free: 83.67 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003564/1.244, allocations: 146.1 kB / 0.9213 GB, free: 83.67 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/1.254, allocations: 3.21 MB / 0.9244 GB, free: 83.55 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-05/1.254, allocations: 8.75 kB / 0.9245 GB, free: 83.55 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.542e-05/1.254, allocations: 6.906 kB / 0.9245 GB, free: 83.55 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.002e-05/1.254, allocations: 6.844 kB / 0.9245 GB, free: 83.55 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/1.269, allocations: 4.906 MB / 0.9293 GB, free: 82.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-05/1.269, allocations: 6.547 kB / 0.9293 GB, free: 82.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001977/1.271, allocations: 353.7 kB / 0.9296 GB, free: 82.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003055/1.274, allocations: 0.694 MB / 0.9303 GB, free: 82.18 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/1.274, allocations: 34.36 kB / 0.9303 GB, free: 82.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01784/1.292, allocations: 15.53 MB / 0.9455 GB, free: 69.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.188e-06/1.292, allocations: 6.656 kB / 0.9455 GB, free: 69.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/1.303, allocations: 3.046 MB / 0.9485 GB, free: 68.21 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001403/1.304, allocations: 385.5 kB / 0.9488 GB, free: 68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/1.304, allocations: 22.2 kB / 0.9488 GB, free: 67.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001856/1.306, allocations: 289.6 kB / 0.9491 GB, free: 67.97 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004927/1.307, allocations: 79.22 kB / 0.9492 GB, free: 67.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/1.307, allocations: 40.11 kB / 0.9492 GB, free: 67.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001555/1.309, allocations: 0.7383 MB / 0.95 GB, free: 67.65 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.61e-07/1.309, allocations: 0 / 0.95 GB, free: 67.65 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002233/1.311, allocations: 431.2 kB / 0.9504 GB, free: 67.61 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.0003291/1.311, allocations: 137 kB / 0.9505 GB, free: 67.51 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009259/1.32, allocations: 3.627 MB / 0.954 GB, free: 65.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/1.32, allocations: 5.25 kB / 0.954 GB, free: 65.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005102/1.326, allocations: 2.366 MB / 0.9564 GB, free: 64.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/1.328, allocations: 0.5181 MB / 0.9569 GB, free: 64.42 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008339/1.337, allocations: 3.45 MB / 0.9602 GB, free: 63 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001443/1.338, allocations: 1.382 MB / 0.9616 GB, free: 62.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001766/1.34, allocations: 381 kB / 0.9619 GB, free: 62.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/1.34, allocations: 104.9 kB / 0.962 GB, free: 62.04 MB / 0.7325 GB Notification: Performance of SimCode: time 1.693e-06/1.34, allocations: 0 / 0.962 GB, free: 62.04 MB / 0.7325 GB Notification: Performance of Templates: time 0.05269/1.393, allocations: 30.49 MB / 0.9918 GB, free: 39.66 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (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)