Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.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.001254/0.001254, allocations: 80.69 kB / 19.94 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.001495/0.001495, allocations: 169.4 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.39/1.39, allocations: 177.1 MB / 203.5 MB, free: 9.156 MB / 190.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 0.903/0.903, allocations: 114 MB / 373.9 MB, free: 13.22 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.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") translateModel(IBPSA.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 0.5547 GB, free: 2.664 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.538e-05, allocations: 10.22 kB / 0.5547 GB, free: 2.652 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.004519/0.004545, allocations: 3.017 MB / 0.5576 GB, free: 15.62 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.006758, allocations: 1.309 MB / 0.5589 GB, free: 14.3 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.006871, allocations: 11.94 kB / 0.5589 GB, free: 14.29 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.00794, allocations: 334.6 kB / 0.5592 GB, free: 13.96 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003508/0.008291, allocations: 151 kB / 0.5594 GB, free: 13.81 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.008644, allocations: 139.5 kB / 0.5595 GB, free: 13.68 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003793/0.009023, allocations: 314.9 kB / 0.5598 GB, free: 13.37 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003817/0.009405, allocations: 188.5 kB / 0.56 GB, free: 13.18 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.009625, allocations: 175.5 kB / 0.5601 GB, free: 13.01 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002829/0.009908, allocations: 123.7 kB / 0.5603 GB, free: 12.89 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.942e-05/0.009947, allocations: 20 kB / 0.5603 GB, free: 12.87 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.01021, allocations: 151.5 kB / 0.5604 GB, free: 12.72 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.01031, allocations: 83.8 kB / 0.5605 GB, free: 12.64 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.01042, allocations: 83.81 kB / 0.5606 GB, free: 12.56 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004445/0.01087, allocations: 338.9 kB / 0.5609 GB, free: 12.23 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.01087, allocations: 0 / 0.5609 GB, free: 12.23 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01087, allocations: 4 kB / 0.5609 GB, free: 12.22 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.01088, allocations: 0 / 0.5609 GB, free: 12.22 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007878/0.01166, allocations: 457.4 kB / 0.5613 GB, free: 11.74 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.0117, allocations: 8.625 kB / 0.5614 GB, free: 11.73 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005685/0.01227, allocations: 80.72 kB / 0.5614 GB, free: 11.66 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.01257, allocations: 185.5 kB / 0.5616 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.0126, allocations: 16.75 kB / 0.5616 GB, free: 11.43 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/0.01263, allocations: 20.31 kB / 0.5616 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.01313, allocations: 369.3 kB / 0.562 GB, free: 11.02 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.01315, allocations: 8.109 kB / 0.562 GB, free: 11.01 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/0.01318, allocations: 16.36 kB / 0.562 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.684e-05/0.01322, allocations: 20.3 kB / 0.562 GB, free: 10.97 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.01353, allocations: 193 kB / 0.5622 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.01499, allocations: 0.9889 MB / 0.5632 GB, free: 9.738 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.01526, allocations: 98.55 kB / 0.5633 GB, free: 9.633 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.492e-05/0.01533, allocations: 28.84 kB / 0.5633 GB, free: 9.602 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.01534, allocations: 0 / 0.5633 GB, free: 9.602 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.01538, allocations: 38.5 kB / 0.5633 GB, free: 9.555 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.01538, allocations: 0 / 0.5633 GB, free: 9.555 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005196/0.0159, allocations: 154.5 kB / 0.5635 GB, free: 9.395 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.01595, allocations: 59.39 kB / 0.5636 GB, free: 9.324 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.01614, allocations: 174.5 kB / 0.5637 GB, free: 9.141 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.01616, allocations: 25.7 kB / 0.5637 GB, free: 9.109 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.01629, allocations: 175.9 kB / 0.5639 GB, free: 8.934 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.01632, allocations: 27.78 kB / 0.5639 GB, free: 8.906 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.469e-05/0.01638, allocations: 37.67 kB / 0.564 GB, free: 8.863 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.01653, allocations: 322.8 kB / 0.5643 GB, free: 8.539 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.896e-05/0.01659, allocations: 35.98 kB / 0.5643 GB, free: 8.504 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.01671, allocations: 100.6 kB / 0.5644 GB, free: 8.375 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.0169, allocations: 144.4 kB / 0.5645 GB, free: 8.203 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.0169, allocations: 0 / 0.5645 GB, free: 8.203 MB / 478.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003026/0.0172, allocations: 190.1 kB / 0.5647 GB, free: 8.008 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.01722, allocations: 9.969 kB / 0.5647 GB, free: 8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.01722, allocations: 7.938 kB / 0.5647 GB, free: 7.992 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001749/0.0174, allocations: 24.84 kB / 0.5648 GB, free: 7.965 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.01751, allocations: 27.92 kB / 0.5648 GB, free: 7.938 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/0.01861, allocations: 1.3 MB / 0.5661 GB, free: 6.539 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.01872, allocations: 19.88 kB / 0.5661 GB, free: 6.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.01873, allocations: 8 kB / 0.5661 GB, free: 6.512 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.01886, allocations: 145.8 kB / 0.5662 GB, free: 6.359 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.0189, allocations: 11.95 kB / 0.5662 GB, free: 6.348 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.01893, allocations: 25.56 kB / 0.5663 GB, free: 6.328 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.01893, allocations: 3.938 kB / 0.5663 GB, free: 6.324 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.01894, allocations: 0 / 0.5663 GB, free: 6.324 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01894, allocations: 3.938 kB / 0.5663 GB, free: 6.32 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004736/0.01941, allocations: 374.9 kB / 0.5666 GB, free: 5.914 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01942, allocations: 0 / 0.5666 GB, free: 5.914 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.72e-05/0.01945, allocations: 4 kB / 0.5666 GB, free: 5.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.918e-05/0.01953, allocations: 28.78 kB / 0.5667 GB, free: 5.879 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.01954, allocations: 0 / 0.5667 GB, free: 5.879 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/0.02054, allocations: 1.288 MB / 0.5679 GB, free: 4.484 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.02054, allocations: 3.938 kB / 0.5679 GB, free: 4.48 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.02077, allocations: 204.3 kB / 0.5681 GB, free: 4.262 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.02081, allocations: 23.88 kB / 0.5681 GB, free: 4.238 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.02083, allocations: 4 kB / 0.5681 GB, free: 4.234 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.02094, allocations: 7.938 kB / 0.5682 GB, free: 4.227 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.48e-05/0.02096, allocations: 12.14 kB / 0.5682 GB, free: 4.215 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.02097, allocations: 0 / 0.5682 GB, free: 4.215 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.02108, allocations: 128.3 kB / 0.5683 GB, free: 4.09 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02108, allocations: 0 / 0.5683 GB, free: 4.09 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003177/0.0214, allocations: 55.89 kB / 0.5683 GB, free: 4.035 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001146/0.02152, allocations: 99.17 kB / 0.5684 GB, free: 3.93 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003531/0.02187, allocations: 202.8 kB / 0.5686 GB, free: 3.719 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.02188, allocations: 0 / 0.5686 GB, free: 3.719 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.02204, allocations: 151.1 kB / 0.5688 GB, free: 3.559 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.02238, allocations: 39.41 kB / 0.5688 GB, free: 3.523 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006056/0.02298, allocations: 342.7 kB / 0.5691 GB, free: 3.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.02313, allocations: 143.8 kB / 0.5693 GB, free: 3.004 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 8.058e-05/0.02321, allocations: 25.47 kB / 0.5693 GB, free: 2.977 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.02325, allocations: 16.5 kB / 0.5693 GB, free: 2.957 MB / 478.1 MB Notification: Performance of SimCode: time 3.2e-07/0.02325, allocations: 0 / 0.5693 GB, free: 2.957 MB / 478.1 MB Notification: Performance of Templates: time 0.004953/0.0282, allocations: 1.627 MB / 0.5709 GB, free: 1.387 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.120820816606283] Failed to read output from testmodel.py, exit status != 0: 0.036492012441158295 0.050450567 0.036610598 Calling exit ...