Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.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.001349/0.001349, allocations: 84.8 kB / 19.94 MB, free: 1.777 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.001344/0.001344, allocations: 162.9 kB / 23.21 MB, free: 4.91 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.365/1.365, allocations: 177.1 MB / 203.5 MB, free: 9.184 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.9006/0.9006, allocations: 114 MB / 373.9 MB, free: 13.24 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.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") translateModel(IBPSA.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.5546 GB, free: 2.684 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.84e-05, allocations: 2.281 kB / 0.5546 GB, free: 2.68 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.006496/0.006524, allocations: 4.217 MB / 0.5588 GB, free: 14.45 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003396/0.00992, allocations: 1.827 MB / 0.5605 GB, free: 12.61 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002466/0.01017, allocations: 11.94 kB / 0.5606 GB, free: 12.6 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001825/0.01199, allocations: 0.5944 MB / 0.5611 GB, free: 12 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007301/0.01272, allocations: 274.2 kB / 0.5614 GB, free: 11.73 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006727/0.01339, allocations: 250.4 kB / 0.5616 GB, free: 11.49 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007714/0.01417, allocations: 0.6343 MB / 0.5623 GB, free: 10.86 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006162/0.01478, allocations: 347.1 kB / 0.5626 GB, free: 10.52 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004467/0.01523, allocations: 347.2 kB / 0.5629 GB, free: 10.18 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005176/0.01575, allocations: 251.3 kB / 0.5632 GB, free: 9.934 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.801e-05/0.01581, allocations: 36 kB / 0.5632 GB, free: 9.898 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00052/0.01633, allocations: 235.3 kB / 0.5634 GB, free: 9.668 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.01653, allocations: 171.5 kB / 0.5636 GB, free: 9.5 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.01673, allocations: 151.7 kB / 0.5637 GB, free: 9.352 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008227/0.01755, allocations: 0.6231 MB / 0.5643 GB, free: 8.727 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.01756, allocations: 0 / 0.5643 GB, free: 8.727 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01756, allocations: 0 / 0.5643 GB, free: 8.727 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.01757, allocations: 0 / 0.5643 GB, free: 8.727 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001271/0.01884, allocations: 0.6609 MB / 0.565 GB, free: 8.031 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.01888, allocations: 8.625 kB / 0.565 GB, free: 8.023 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009828/0.01986, allocations: 148.5 kB / 0.5651 GB, free: 7.879 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005063/0.02037, allocations: 276.5 kB / 0.5654 GB, free: 7.586 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/0.0204, allocations: 29.38 kB / 0.5654 GB, free: 7.559 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.754e-05/0.02047, allocations: 32.36 kB / 0.5655 GB, free: 7.527 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009462/0.02142, allocations: 0.6826 MB / 0.5661 GB, free: 6.773 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.02143, allocations: 192 / 0.5661 GB, free: 6.773 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.578e-05/0.02148, allocations: 16.38 kB / 0.5661 GB, free: 6.758 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.799e-05/0.02153, allocations: 32.58 kB / 0.5662 GB, free: 6.723 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000604/0.02214, allocations: 386.3 kB / 0.5665 GB, free: 6.348 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002378/0.02452, allocations: 1.668 MB / 0.5682 GB, free: 4.613 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005414/0.02506, allocations: 256.9 kB / 0.5684 GB, free: 4.355 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.02522, allocations: 96.81 kB / 0.5685 GB, free: 4.258 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.02523, allocations: 0 / 0.5685 GB, free: 4.258 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.02527, allocations: 38.55 kB / 0.5685 GB, free: 4.211 MB / 478.1 MB Notification: Performance of pre-optimization done (n=20): time 1.222e-06/0.02528, allocations: 0 / 0.5685 GB, free: 4.211 MB / 478.1 MB Notification: Performance of matching and sorting (n=23): time 0.002169/0.02744, allocations: 0.9027 MB / 0.5694 GB, free: 3.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.02749, allocations: 59.41 kB / 0.5695 GB, free: 3.199 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.0278, allocations: 273.8 kB / 0.5697 GB, free: 2.926 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.02783, allocations: 29.7 kB / 0.5698 GB, free: 2.891 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.02801, allocations: 240 kB / 0.57 GB, free: 2.652 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.01e-05/0.02809, allocations: 83.25 kB / 0.5701 GB, free: 2.57 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.02822, allocations: 65.98 kB / 0.5701 GB, free: 2.496 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.0284, allocations: 338.8 kB / 0.5705 GB, free: 2.156 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.02857, allocations: 100.6 kB / 0.5706 GB, free: 2.059 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.02881, allocations: 195.7 kB / 0.5707 GB, free: 1.828 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004246/0.02923, allocations: 316.1 kB / 0.571 GB, free: 1.484 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.02924, allocations: 0 / 0.571 GB, free: 1.484 MB / 478.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007905/0.03003, allocations: 443.5 kB / 0.5715 GB, free: 1.039 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.03004, allocations: 4 kB / 0.5715 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.03005, allocations: 4 kB / 0.5715 GB, free: 1.031 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000378/0.03043, allocations: 98.78 kB / 0.5716 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.03072, allocations: 67.91 kB / 0.5716 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003549/0.03426, allocations: 3.993 MB / 0.5755 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.03449, allocations: 15.98 kB / 0.5755 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.03452, allocations: 12 kB / 0.5756 GB, free: 12.53 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002425/0.03476, allocations: 189.9 kB / 0.5757 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.279e-05/0.03482, allocations: 27.81 kB / 0.5758 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.092e-05/0.0349, allocations: 38.27 kB / 0.5758 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.03491, allocations: 0 / 0.5758 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.03492, allocations: 4 kB / 0.5758 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.03492, allocations: 3.938 kB / 0.5758 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003936/0.03531, allocations: 281.1 kB / 0.5761 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.03532, allocations: 4 kB / 0.5761 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.03551, allocations: 39.97 kB / 0.5761 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003122/0.03582, allocations: 90.44 kB / 0.5762 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.03584, allocations: 8 kB / 0.5762 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003324/0.03916, allocations: 4.012 MB / 0.5801 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.03917, allocations: 288 / 0.5801 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008867/0.04005, allocations: 0.5522 MB / 0.5807 GB, free: 6.914 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.04017, allocations: 47.81 kB / 0.5807 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.0402, allocations: 8 kB / 0.5807 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.0404, allocations: 7.984 kB / 0.5807 GB, free: 6.852 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.04045, allocations: 23.95 kB / 0.5808 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.04047, allocations: 8 kB / 0.5808 GB, free: 6.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001878/0.04066, allocations: 185.2 kB / 0.5809 GB, free: 6.641 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.04066, allocations: 4.062 kB / 0.5809 GB, free: 6.637 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004773/0.04114, allocations: 103.9 kB / 0.581 GB, free: 6.535 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001339/0.04127, allocations: 99.25 kB / 0.5811 GB, free: 6.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008965/0.04217, allocations: 0.5985 MB / 0.5817 GB, free: 5.793 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.04217, allocations: 0 / 0.5817 GB, free: 5.793 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005235/0.04269, allocations: 463.3 kB / 0.5822 GB, free: 5.305 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.04316, allocations: 65.48 kB / 0.5822 GB, free: 5.242 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.04434, allocations: 0.6669 MB / 0.5829 GB, free: 4.547 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.04458, allocations: 224 kB / 0.5831 GB, free: 4.301 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001759/0.04476, allocations: 66.92 kB / 0.5832 GB, free: 4.238 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.222e-05/0.04482, allocations: 20.5 kB / 0.5832 GB, free: 4.219 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.04482, allocations: 0 / 0.5832 GB, free: 4.219 MB / 494.1 MB Notification: Performance of Templates: time 0.009469/0.05429, allocations: 4.321 MB / 0.5874 GB, free: 15.99 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.273406200110912] Failed to read output from testmodel.py, exit status != 0: 0.06274288892745972 0.077983279 0.057106632000000004 Calling exit ...