Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 111 kB / 17.33 MB, free: 5.043 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.001198/0.001198, allocations: 201.9 kB / 18.33 MB, free: 4.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8035/0.8035, allocations: 128.4 MB / 426.1 MB, free: 7.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 67.67 kB / 0.5912 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1662, allocations: 83.27 MB / 0.6725 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02717/0.1934, allocations: 22.92 MB / 0.6949 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03079/0.2242, allocations: 17.79 MB / 0.7123 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004463/0.2287, allocations: 111.4 kB / 0.7124 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.01165/0.2403, allocations: 4.222 MB / 0.7165 GB, free: 6.793 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0127/0.253, allocations: 3.576 MB / 0.72 GB, free: 3.207 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004777/0.2578, allocations: 1.335 MB / 0.7213 GB, free: 1.875 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0111/0.2689, allocations: 5.785 MB / 0.7269 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005046/0.2739, allocations: 2.808 MB / 0.7297 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005663/0.2796, allocations: 2.488 MB / 0.7321 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007235/0.2868, allocations: 2.506 MB / 0.7346 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002511/0.2893, allocations: 368 kB / 0.7349 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004097/0.2934, allocations: 1.057 MB / 0.7359 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001953/0.2954, allocations: 1.219 MB / 0.7371 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004065/0.2995, allocations: 1.998 MB / 0.7391 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008939/0.3084, allocations: 5.195 MB / 0.7442 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.3084, allocations: 0 / 0.7442 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.043e-06/0.3084, allocations: 3.938 kB / 0.7442 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000209/0.3086, allocations: 4 kB / 0.7442 GB, free: 10.31 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: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01382/0.3224, allocations: 4.73 MB / 0.7488 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.3225, allocations: 8.031 kB / 0.7488 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01543/0.3379, allocations: 3.287 MB / 0.752 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3372/0.6752, allocations: 2.248 MB / 0.7542 GB, free: 72.18 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004339/0.6756, allocations: 465.2 kB / 0.7546 GB, free: 71.86 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00099/0.6766, allocations: 232.7 kB / 0.7549 GB, free: 71.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01059/0.6872, allocations: 4.815 MB / 0.7596 GB, free: 70.67 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.618e-05/0.6872, allocations: 0.8438 kB / 0.7596 GB, free: 70.67 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002967/0.6875, allocations: 105.7 kB / 0.7597 GB, free: 70.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002462/0.6878, allocations: 170.8 kB / 0.7598 GB, free: 70.58 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0132/0.701, allocations: 5.199 MB / 0.7649 GB, free: 69.13 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01933/0.7203, allocations: 14.41 MB / 0.779 GB, free: 59.24 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008127/0.7284, allocations: 3.266 MB / 0.7822 GB, free: 57.61 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002943/0.7314, allocations: 1.369 MB / 0.7835 GB, free: 56.93 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/0.7315, allocations: 24.56 kB / 0.7835 GB, free: 56.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003471/0.735, allocations: 1.796 MB / 0.7853 GB, free: 55.81 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=163): time 2.785e-06/0.735, allocations: 0 / 0.7853 GB, free: 55.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=250): time 0.1034/0.8384, allocations: 28.21 MB / 0.8128 GB, free: 34.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.8385, allocations: 0.4889 MB / 0.8133 GB, free: 33.99 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002524/0.841, allocations: 2.296 MB / 0.8156 GB, free: 31.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003184/0.8413, allocations: 77.7 kB / 0.8156 GB, free: 31.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008728/0.8422, allocations: 1.455 MB / 0.817 GB, free: 30.13 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005954/0.8428, allocations: 0.862 MB / 0.8179 GB, free: 29.29 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006939/0.8435, allocations: 416.5 kB / 0.8183 GB, free: 28.87 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.673e-05/0.8436, allocations: 309.1 kB / 0.8186 GB, free: 28.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004024/0.8476, allocations: 1.921 MB / 0.8205 GB, free: 26.64 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004179/0.8518, allocations: 2.239 MB / 0.8226 GB, free: 24.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007873/0.8596, allocations: 4.158 MB / 0.8267 GB, free: 20.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.8596, allocations: 0 / 0.8267 GB, free: 20.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01447/0.8741, allocations: 6.478 MB / 0.833 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.929e-05/0.8742, allocations: 148.5 kB / 0.8332 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.8742, allocations: 6.344 kB / 0.8332 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008046/0.8822, allocations: 2.936 MB / 0.836 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002311/0.8845, allocations: 487.2 kB / 0.8365 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03542/0.92, allocations: 18.86 MB / 0.8549 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00402/0.924, allocations: 315.6 kB / 0.8552 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003549/0.9243, allocations: 95.95 kB / 0.8553 GB, free: 6.395 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * 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 {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.001635/0.926, allocations: 0.7027 MB / 0.856 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000862/0.9268, allocations: 349.8 kB / 0.8563 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000805/0.9276, allocations: 388.1 kB / 0.8567 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/0.9277, allocations: 23.94 kB / 0.8567 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-05/0.9277, allocations: 15.94 kB / 0.8568 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/0.9277, allocations: 11.95 kB / 0.8568 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005056/0.9328, allocations: 3.625 MB / 0.8603 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.9328, allocations: 0 / 0.8603 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002393/0.9352, allocations: 411.4 kB / 0.8607 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009491/0.9447, allocations: 2.865 MB / 0.8635 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003343/0.945, allocations: 51.97 kB / 0.8635 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0384/0.9834, allocations: 18.64 MB / 0.8818 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.9834, allocations: 4 kB / 0.8818 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01738/1.001, allocations: 6.109 MB / 0.8877 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/1.003, allocations: 0.7173 MB / 0.8884 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005607/1.003, allocations: 48 kB / 0.8885 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00314/1.006, allocations: 315.6 kB / 0.8888 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001218/1.008, allocations: 354.7 kB / 0.8891 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001995/1.008, allocations: 71.97 kB / 0.8892 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002267/1.01, allocations: 1.528 MB / 0.8907 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7.1e-08/1.01, allocations: 0 / 0.8907 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002728/1.013, allocations: 1.05 MB / 0.8917 GB, free: 0.7812 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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 {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003725/1.013, allocations: 167 kB / 0.8919 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.02172/1.035, allocations: 6.316 MB / 0.898 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/1.035, allocations: 0 / 0.898 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01621/1.051, allocations: 3.935 MB / 0.9019 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004664/1.056, allocations: 1.138 MB / 0.903 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/1.07, allocations: 6.815 MB / 0.9096 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002141/1.072, allocations: 2.235 MB / 0.9118 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002114/1.074, allocations: 0.5099 MB / 0.9123 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000639/1.074, allocations: 187.4 kB / 0.9125 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of SimCode: time 8.42e-07/1.074, allocations: 3.938 kB / 0.9125 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.1273/1.202, allocations: 77.28 MB / 0.988 GB, free: 14.95 MB / 0.7325 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 480]