Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001466/0.001466, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001702/0.001702, allocations: 216.6 kB / 23 MB, free: 5.008 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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 1.069/1.069, allocations: 150 MB / 463.1 MB, free: 10.53 MB / 366.1 MB " [Timeout remaining time 178] 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 61.5 kB / 0.6417 GB, free: 9.98 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2198, allocations: 89.17 MB / 0.7288 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02004/0.2399, allocations: 15.33 MB / 0.7438 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01805/0.2579, allocations: 10.75 MB / 0.7543 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002018/0.2599, allocations: 99.06 kB / 0.7544 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005072/0.265, allocations: 1.758 MB / 0.7561 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007003/0.272, allocations: 1.863 MB / 0.7579 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002314/0.2743, allocations: 0.7667 MB / 0.7587 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3849/0.6592, allocations: 2.757 MB / 0.7614 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00217/0.6614, allocations: 1.2 MB / 0.7625 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002766/0.6642, allocations: 1.737 MB / 0.7642 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/0.6659, allocations: 1.117 MB / 0.7653 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002342/0.6661, allocations: 153.9 kB / 0.7655 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.6679, allocations: 0.7916 MB / 0.7662 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006026/0.6685, allocations: 0.5979 MB / 0.7668 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008181/0.6693, allocations: 0.94 MB / 0.7677 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003966/0.6733, allocations: 2.718 MB / 0.7704 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.6733, allocations: 3.906 kB / 0.7704 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.023e-06/0.6733, allocations: 0 / 0.7704 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.093e-05/0.6733, allocations: 0 / 0.7704 GB, free: 10.68 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004593/0.6779, allocations: 2.145 MB / 0.7725 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.678, allocations: 10.38 kB / 0.7725 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01214/0.6901, allocations: 2.102 MB / 0.7745 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003863/0.694, allocations: 1.2 MB / 0.7757 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.6941, allocations: 87.44 kB / 0.7758 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005923/0.6947, allocations: 114.3 kB / 0.7759 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007704/0.7024, allocations: 2.632 MB / 0.7785 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-05/0.7025, allocations: 12.09 kB / 0.7785 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002218/0.7027, allocations: 53.59 kB / 0.7785 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007467/0.7034, allocations: 193.2 kB / 0.7787 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008303/0.7117, allocations: 2.789 MB / 0.7815 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01578/0.7275, allocations: 10.31 MB / 0.7915 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006183/0.7337, allocations: 2.17 MB / 0.7936 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002922/0.7366, allocations: 1.185 MB / 0.7948 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-05/0.7367, allocations: 9.531 kB / 0.7948 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.7367, allocations: 48.62 kB / 0.7949 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=89): time 2.885e-06/0.7367, allocations: 0 / 0.7949 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of matching and sorting (n=153): time 0.0562/0.7929, allocations: 15 MB / 0.8095 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/0.793, allocations: 74.09 kB / 0.8096 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/0.795, allocations: 1.035 MB / 0.8106 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003244/0.7954, allocations: 48.77 kB / 0.8106 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006705/0.796, allocations: 0.7646 MB / 0.8114 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006763/0.7967, allocations: 0.5499 MB / 0.8119 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005329/0.7972, allocations: 301.3 kB / 0.8122 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.7974, allocations: 306.1 kB / 0.8125 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003382/0.8007, allocations: 1.455 MB / 0.8139 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003658/0.8044, allocations: 1.795 MB / 0.8157 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007718/0.8121, allocations: 3.353 MB / 0.8189 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/0.8121, allocations: 4 kB / 0.8189 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01341/0.8255, allocations: 5.018 MB / 0.8238 GB, free: 352 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/0.8256, allocations: 8.969 kB / 0.8239 GB, free: 344 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/0.8256, allocations: 8 kB / 0.8239 GB, free: 336 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005902/0.8315, allocations: 1.665 MB / 0.8255 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002154/0.8337, allocations: 429.7 kB / 0.8259 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03495/0.8686, allocations: 22.91 MB / 0.8483 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003211/0.8718, allocations: 307.5 kB / 0.8486 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004515/0.8723, allocations: 71.97 kB / 0.8486 GB, free: 6.203 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (88): * Single equations (assignments): 80 * 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,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00155/0.8738, allocations: 469.7 kB / 0.8491 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006312/0.8745, allocations: 174.9 kB / 0.8492 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01454/0.889, allocations: 5.045 MB / 0.8542 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.663e-05/0.889, allocations: 20 kB / 0.8542 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.428e-05/0.8891, allocations: 16 kB / 0.8542 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.89e-05/0.8891, allocations: 7.969 kB / 0.8542 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0192/0.9083, allocations: 7.01 MB / 0.8611 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.996e-05/0.9083, allocations: 4 kB / 0.8611 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/0.9101, allocations: 350.8 kB / 0.8614 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005219/0.9153, allocations: 1.459 MB / 0.8628 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002679/0.9156, allocations: 47.91 kB / 0.8629 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03261/0.9482, allocations: 22.05 MB / 0.8844 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.9482, allocations: 1.5 kB / 0.8844 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/0.961, allocations: 4.626 MB / 0.8889 GB, free: 12.15 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001598/0.9626, allocations: 394.7 kB / 0.8893 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006193/0.9632, allocations: 32 kB / 0.8893 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002545/0.9657, allocations: 307.5 kB / 0.8896 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007356/0.9665, allocations: 160.8 kB / 0.8898 GB, free: 11.28 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001793/0.9666, allocations: 51.97 kB / 0.8898 GB, free: 11.23 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00126/0.9679, allocations: 0.6864 MB / 0.8905 GB, free: 10.54 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.9679, allocations: 480 / 0.8905 GB, free: 10.54 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003524/0.9714, allocations: 0.625 MB / 0.8911 GB, free: 9.918 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,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005044/0.9719, allocations: 136.4 kB / 0.8912 GB, free: 9.781 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01235/0.9843, allocations: 4.846 MB / 0.896 GB, free: 4.875 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.9843, allocations: 64 / 0.896 GB, free: 4.875 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00783/0.9921, allocations: 3.217 MB / 0.8991 GB, free: 1.57 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003717/0.9958, allocations: 0.5202 MB / 0.8996 GB, free: 1.094 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/1.007, allocations: 4.315 MB / 0.9038 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002219/1.009, allocations: 1.575 MB / 0.9054 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00169/1.011, allocations: 373 kB / 0.9057 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004826/1.011, allocations: 99.38 kB / 0.9058 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of SimCode: time 1.303e-06/1.011, allocations: 0 / 0.9058 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of Templates: time 0.07638/1.088, allocations: 43.32 MB / 0.9481 GB, free: 15.96 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.197844754904509] Failed to read output from testmodel.py, exit status != 0: 1.0978248841129243 1.112545809 0.43597453300000005 Calling exit ...