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.001118/0.001118, allocations: 84.44 kB / 20.7 MB, free: 3.871 MB / 18.57 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.001304/0.001304, allocations: 169.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 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 0.836/0.836, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 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.5233/0.5233, allocations: 114 MB / 374.7 MB, free: 8.723 MB / 346.7 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.052e-06/1.052e-06, allocations: 0 / 0.5554 GB, free: 1.238 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.511e-05, allocations: 2.281 kB / 0.5554 GB, free: 1.234 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.00288/0.002895, allocations: 3.029 MB / 0.5583 GB, free: 14.19 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.004456, allocations: 1.309 MB / 0.5596 GB, free: 12.88 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.254e-05/0.004549, allocations: 7.938 kB / 0.5596 GB, free: 12.87 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005909/0.00514, allocations: 338.6 kB / 0.56 GB, free: 12.54 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.005354, allocations: 155 kB / 0.5601 GB, free: 12.38 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.005531, allocations: 139.1 kB / 0.5602 GB, free: 12.25 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.005767, allocations: 310.9 kB / 0.5605 GB, free: 11.95 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/0.006043, allocations: 192.5 kB / 0.5607 GB, free: 11.76 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.006178, allocations: 179.5 kB / 0.5609 GB, free: 11.58 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.006387, allocations: 123.7 kB / 0.561 GB, free: 11.46 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.00641, allocations: 19.94 kB / 0.561 GB, free: 11.44 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.006562, allocations: 151.6 kB / 0.5612 GB, free: 11.29 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.324e-05/0.006625, allocations: 91.7 kB / 0.5613 GB, free: 11.2 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.637e-05/0.006682, allocations: 71.84 kB / 0.5613 GB, free: 11.13 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.006971, allocations: 347 kB / 0.5617 GB, free: 10.79 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.006974, allocations: 8 kB / 0.5617 GB, free: 10.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006975, allocations: 0 / 0.5617 GB, free: 10.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.006979, allocations: 0 / 0.5617 GB, free: 10.79 MB / 490.7 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.0005064/0.007485, allocations: 446.2 kB / 0.5621 GB, free: 10.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.007518, allocations: 12.61 kB / 0.5621 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003001/0.007819, allocations: 76.73 kB / 0.5622 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.008016, allocations: 199.1 kB / 0.5624 GB, free: 10.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.00803, allocations: 12.75 kB / 0.5624 GB, free: 10 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.008048, allocations: 16.38 kB / 0.5624 GB, free: 9.984 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000314/0.008362, allocations: 377.3 kB / 0.5627 GB, free: 9.578 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.008372, allocations: 192 / 0.5627 GB, free: 9.578 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.00839, allocations: 8.375 kB / 0.5628 GB, free: 9.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.609e-05/0.008416, allocations: 28.23 kB / 0.5628 GB, free: 9.543 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.00861, allocations: 193 kB / 0.563 GB, free: 9.355 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007495/0.00936, allocations: 0.985 MB / 0.5639 GB, free: 8.312 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.009521, allocations: 94.53 kB / 0.564 GB, free: 8.211 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.713e-05/0.009559, allocations: 33 kB / 0.5641 GB, free: 8.176 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.152e-06/0.009565, allocations: 0 / 0.5641 GB, free: 8.176 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.009584, allocations: 46.48 kB / 0.5641 GB, free: 8.121 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.009585, allocations: 4 kB / 0.5641 GB, free: 8.117 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002854/0.009871, allocations: 142.3 kB / 0.5642 GB, free: 7.969 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.009896, allocations: 51.41 kB / 0.5643 GB, free: 7.906 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.01001, allocations: 182.4 kB / 0.5645 GB, free: 7.715 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.01002, allocations: 29.7 kB / 0.5645 GB, free: 7.68 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.117e-05/0.0101, allocations: 175.9 kB / 0.5647 GB, free: 7.504 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.247e-05/0.01011, allocations: 23.8 kB / 0.5647 GB, free: 7.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.01015, allocations: 37.66 kB / 0.5647 GB, free: 7.438 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.306e-05/0.01022, allocations: 322.8 kB / 0.565 GB, free: 7.113 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.964e-05/0.01026, allocations: 35.98 kB / 0.5651 GB, free: 7.078 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.463e-05/0.01033, allocations: 100.6 kB / 0.5652 GB, free: 6.949 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.01044, allocations: 152.4 kB / 0.5653 GB, free: 6.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.01044, allocations: 4 kB / 0.5653 GB, free: 6.766 MB / 490.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001765/0.01062, allocations: 186.1 kB / 0.5655 GB, free: 6.574 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.01063, allocations: 9.562 kB / 0.5655 GB, free: 6.566 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.01063, allocations: 4.25 kB / 0.5655 GB, free: 6.562 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001132/0.01075, allocations: 29.12 kB / 0.5655 GB, free: 6.531 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.01081, allocations: 31.92 kB / 0.5655 GB, free: 6.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008711/0.01168, allocations: 1.296 MB / 0.5668 GB, free: 5.105 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.952e-05/0.01174, allocations: 23.78 kB / 0.5668 GB, free: 5.082 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.01175, allocations: 8 kB / 0.5668 GB, free: 5.074 MB / 490.7 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 8.522e-05/0.01183, allocations: 141.8 kB / 0.567 GB, free: 4.926 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.01185, allocations: 16.11 kB / 0.567 GB, free: 4.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.236e-05/0.01186, allocations: 13.45 kB / 0.567 GB, free: 4.902 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.01187, allocations: 7.938 kB / 0.567 GB, free: 4.895 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.01187, allocations: 3.938 kB / 0.567 GB, free: 4.891 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-06/0.01187, allocations: 0 / 0.567 GB, free: 4.891 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.01214, allocations: 366.9 kB / 0.5674 GB, free: 4.492 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01214, allocations: 0 / 0.5674 GB, free: 4.492 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.913e-05/0.01216, allocations: 11.94 kB / 0.5674 GB, free: 4.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.841e-05/0.01221, allocations: 24.84 kB / 0.5674 GB, free: 4.453 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-06/0.01222, allocations: 4 kB / 0.5674 GB, free: 4.449 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005217/0.01274, allocations: 1.288 MB / 0.5687 GB, free: 3.055 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01274, allocations: 0 / 0.5687 GB, free: 3.055 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.01286, allocations: 208.3 kB / 0.5689 GB, free: 2.832 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.553e-05/0.01289, allocations: 19.91 kB / 0.5689 GB, free: 2.812 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.335e-06/0.0129, allocations: 3.984 kB / 0.5689 GB, free: 2.809 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.543e-05/0.01295, allocations: 12.09 kB / 0.5689 GB, free: 2.797 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.01297, allocations: 3.984 kB / 0.5689 GB, free: 2.793 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.01297, allocations: 8 kB / 0.5689 GB, free: 2.785 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.454e-05/0.01304, allocations: 128.3 kB / 0.569 GB, free: 2.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01304, allocations: 0 / 0.569 GB, free: 2.66 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001949/0.01323, allocations: 51.83 kB / 0.5691 GB, free: 2.609 MB / 490.7 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 6.645e-05/0.0133, allocations: 99.25 kB / 0.5692 GB, free: 2.504 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.01352, allocations: 206.7 kB / 0.5694 GB, free: 2.289 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01352, allocations: 0 / 0.5694 GB, free: 2.289 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.458e-05/0.0136, allocations: 142.6 kB / 0.5695 GB, free: 2.137 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.01382, allocations: 31.27 kB / 0.5695 GB, free: 2.109 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.01422, allocations: 396.2 kB / 0.5699 GB, free: 1.688 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.079e-05/0.0143, allocations: 127.9 kB / 0.57 GB, free: 1.547 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.01433, allocations: 16.69 kB / 0.5701 GB, free: 1.531 MB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01433, allocations: 0 / 0.5701 GB, free: 1.531 MB / 490.7 MB Notification: Performance of Templates: time 0.003136/0.01746, allocations: 2.979 MB / 0.573 GB, free: 14.56 MB / 0.4948 GB " [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: 4.962819065898657] Failed to read output from testmodel.py, exit status != 0: 0.021809156984090805 0.029613773000000003 0.02086729 Calling exit ...