Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 76.23 kB / 19.93 MB, free: 1.77 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 171 kB / 23.22 MB, free: 4.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.386/1.386, allocations: 177.1 MB / 203.5 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9076/0.9076, allocations: 114 MB / 373.9 MB, free: 13.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.5547 GB, free: 2.637 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.768e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.633 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.006137/0.006165, allocations: 4.211 MB / 0.5588 GB, free: 14.4 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004952/0.01112, allocations: 3.119 MB / 0.5618 GB, free: 11.27 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000263/0.01138, allocations: 19.88 kB / 0.5619 GB, free: 11.25 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.01293, allocations: 497.7 kB / 0.5623 GB, free: 10.76 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009582/0.01389, allocations: 405.6 kB / 0.5627 GB, free: 10.36 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006431/0.01453, allocations: 263.1 kB / 0.563 GB, free: 10.11 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008328/0.01537, allocations: 0.6227 MB / 0.5636 GB, free: 9.48 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005418/0.01591, allocations: 329.8 kB / 0.5639 GB, free: 9.16 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007538/0.01666, allocations: 431.1 kB / 0.5643 GB, free: 8.738 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004963/0.01716, allocations: 259.3 kB / 0.5645 GB, free: 8.484 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.02e-05/0.01725, allocations: 40 kB / 0.5646 GB, free: 8.445 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005177/0.01777, allocations: 283.4 kB / 0.5649 GB, free: 8.168 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.01798, allocations: 179.5 kB / 0.565 GB, free: 7.992 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.01821, allocations: 159.6 kB / 0.5652 GB, free: 7.836 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.01925, allocations: 0.8024 MB / 0.566 GB, free: 7.031 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/0.01926, allocations: 11.92 kB / 0.566 GB, free: 7.02 MB / 478.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01926, allocations: 0 / 0.566 GB, free: 7.02 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.01927, allocations: 0 / 0.566 GB, free: 7.02 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001329/0.0206, allocations: 0.7032 MB / 0.5667 GB, free: 6.285 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.02063, allocations: 8.625 kB / 0.5667 GB, free: 6.277 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002951/0.02358, allocations: 0.6869 MB / 0.5673 GB, free: 5.59 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006512/0.02423, allocations: 401.3 kB / 0.5677 GB, free: 5.172 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.02426, allocations: 21.03 kB / 0.5677 GB, free: 5.152 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.646e-05/0.02434, allocations: 32.38 kB / 0.5678 GB, free: 5.121 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.026, allocations: 0.8404 MB / 0.5686 GB, free: 4.242 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.02602, allocations: 7.922 kB / 0.5686 GB, free: 4.234 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.574e-05/0.02608, allocations: 12 kB / 0.5686 GB, free: 4.223 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/0.02621, allocations: 56.59 kB / 0.5687 GB, free: 4.164 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002119/0.02833, allocations: 0.8725 MB / 0.5695 GB, free: 3.293 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003659/0.03199, allocations: 2.047 MB / 0.5715 GB, free: 1.188 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.0338, allocations: 0.5135 MB / 0.572 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007593/0.03456, allocations: 256.6 kB / 0.5723 GB, free: 420 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.651e-05/0.03464, allocations: 15.98 kB / 0.5723 GB, free: 404 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.03467, allocations: 34.56 kB / 0.5723 GB, free: 360 kB / 478.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.03467, allocations: 0 / 0.5723 GB, free: 360 kB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.01343/0.04811, allocations: 3.256 MB / 0.5755 GB, free: 13.08 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.04815, allocations: 59.34 kB / 0.5756 GB, free: 13.01 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004778/0.04863, allocations: 364.4 kB / 0.5759 GB, free: 12.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.103e-05/0.04869, allocations: 33.7 kB / 0.5759 GB, free: 12.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.04888, allocations: 248.1 kB / 0.5762 GB, free: 12.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.664e-05/0.04898, allocations: 87.27 kB / 0.5762 GB, free: 12.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.04915, allocations: 69.64 kB / 0.5763 GB, free: 12.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.04932, allocations: 346.8 kB / 0.5766 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.0504, allocations: 392.4 kB / 0.577 GB, free: 11.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.05154, allocations: 487.2 kB / 0.5775 GB, free: 10.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002186/0.05373, allocations: 0.8096 MB / 0.5783 GB, free: 10.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.05373, allocations: 0 / 0.5783 GB, free: 10.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005855/0.05959, allocations: 1.603 MB / 0.5798 GB, free: 8.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.05961, allocations: 7.938 kB / 0.5798 GB, free: 8.492 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.05962, allocations: 4 kB / 0.5799 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004071/0.06369, allocations: 0.856 MB / 0.5807 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006998/0.06439, allocations: 131.8 kB / 0.5808 GB, free: 7.496 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007872/0.07226, allocations: 4.946 MB / 0.5856 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009183/0.07318, allocations: 119.8 kB / 0.5858 GB, free: 2.227 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.028e-05/0.07325, allocations: 16 kB / 0.5858 GB, free: 2.211 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001339/0.07459, allocations: 0.5555 MB / 0.5863 GB, free: 1.652 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001088/0.07568, allocations: 473.9 kB / 0.5868 GB, free: 1.152 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002115/0.07779, allocations: 0.7892 MB / 0.5875 GB, free: 344 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.178e-06/0.0778, allocations: 4 kB / 0.5875 GB, free: 340 kB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.005013/0.08281, allocations: 1.427 MB / 0.5889 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.08283, allocations: 4 kB / 0.5889 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.08283, allocations: 4 kB / 0.5889 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002857/0.08569, allocations: 0.6298 MB / 0.5896 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006712/0.08636, allocations: 135.8 kB / 0.5897 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006301/0.09266, allocations: 4.535 MB / 0.5941 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000868/0.09353, allocations: 127.8 kB / 0.5942 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/0.09358, allocations: 11.98 kB / 0.5943 GB, free: 9.238 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002031/0.09379, allocations: 200.1 kB / 0.5944 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.09389, allocations: 35.88 kB / 0.5945 GB, free: 9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004991/0.09888, allocations: 1.437 MB / 0.5959 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.09889, allocations: 3.938 kB / 0.5959 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.09889, allocations: 4 kB / 0.5959 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.0989, allocations: 0 / 0.5959 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005576/0.1045, allocations: 1.951 MB / 0.5978 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.1045, allocations: 4 kB / 0.5978 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/0.1049, allocations: 75.91 kB / 0.5979 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00336/0.1082, allocations: 0.7506 MB / 0.5986 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.955e-05/0.1083, allocations: 11.98 kB / 0.5986 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006633/0.1149, allocations: 4.699 MB / 0.6032 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1149, allocations: 0 / 0.6032 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004648/0.1195, allocations: 1.42 MB / 0.6046 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.1198, allocations: 87.75 kB / 0.6047 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.04e-05/0.1199, allocations: 12 kB / 0.6047 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000667/0.1205, allocations: 91.84 kB / 0.6048 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.1207, allocations: 27.89 kB / 0.6048 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.1207, allocations: 8 kB / 0.6048 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004548/0.1211, allocations: 282.9 kB / 0.6051 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1211, allocations: 0 / 0.6051 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009564/0.1221, allocations: 219.9 kB / 0.6053 GB, free: 13.62 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002137/0.1223, allocations: 111.2 kB / 0.6054 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00449/0.1268, allocations: 1.818 MB / 0.6072 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.1268, allocations: 0 / 0.6072 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.1282, allocations: 0.6612 MB / 0.6078 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006655/0.1289, allocations: 120.1 kB / 0.6079 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.131, allocations: 1.051 MB / 0.609 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.1314, allocations: 314.2 kB / 0.6093 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000489/0.1319, allocations: 150.9 kB / 0.6094 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.132, allocations: 32.48 kB / 0.6094 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of SimCode: time 5.81e-07/0.132, allocations: 0 / 0.6094 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of Templates: time 0.02265/0.1547, allocations: 14.3 MB / 0.6234 GB, free: 11.06 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5185600109398365] Failed to read output from testmodel.py, exit status != 0: 0.16321228817105293 0.177463689 0.155264921 Calling exit ...