Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 113.9 kB / 18.94 MB, free: 2.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 190.2 kB / 22.23 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.148/1.148, allocations: 177.9 MB / 484.2 MB, free: 5.379 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance") translateModel(IDEAS.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 65.08 kB / 0.674 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6309/0.633, allocations: 95.16 MB / 0.7669 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.007166/0.6401, allocations: 3.175 MB / 0.77 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004114/0.6442, allocations: 1.367 MB / 0.7713 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003169/0.6446, allocations: 12.75 kB / 0.7713 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.6459, allocations: 346.1 kB / 0.7717 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000501/0.6464, allocations: 142.7 kB / 0.7718 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005356/0.647, allocations: 138.9 kB / 0.7719 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005469/0.6475, allocations: 314 kB / 0.7722 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005305/0.6481, allocations: 157.8 kB / 0.7724 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002456/0.6483, allocations: 128.1 kB / 0.7725 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004211/0.6487, allocations: 153.5 kB / 0.7727 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.661e-05/0.6488, allocations: 18.19 kB / 0.7727 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005176/0.6493, allocations: 170 kB / 0.7728 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.6494, allocations: 85.11 kB / 0.7729 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.6496, allocations: 112.6 kB / 0.773 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006733/0.6503, allocations: 338.6 kB / 0.7734 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6503, allocations: 1.344 kB / 0.7734 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6503, allocations: 0 / 0.7734 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.916e-06/0.6503, allocations: 0 / 0.7734 GB, free: 4.289 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009945/0.6513, allocations: 458.5 kB / 0.7738 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.6513, allocations: 8.688 kB / 0.7738 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00086/0.6522, allocations: 83.11 kB / 0.7739 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.6526, allocations: 189.1 kB / 0.7741 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.6526, allocations: 16.12 kB / 0.7741 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.6526, allocations: 19.72 kB / 0.7741 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000642/0.6533, allocations: 302 kB / 0.7744 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.6533, allocations: 0 / 0.7744 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.605e-05/0.6533, allocations: 11.91 kB / 0.7744 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.743e-05/0.6534, allocations: 16.31 kB / 0.7744 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004918/0.6539, allocations: 200.6 kB / 0.7746 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.6557, allocations: 1.431 MB / 0.776 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.656, allocations: 88.83 kB / 0.7761 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.403e-05/0.6561, allocations: 34.41 kB / 0.7761 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.6561, allocations: 1.203 kB / 0.7761 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.6562, allocations: 40.16 kB / 0.7762 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.794e-06/0.6562, allocations: 0 / 0.7762 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0006177/0.6568, allocations: 146.2 kB / 0.7763 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.6568, allocations: 56.22 kB / 0.7763 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.6571, allocations: 194.5 kB / 0.7765 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.6571, allocations: 27.23 kB / 0.7766 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.6572, allocations: 174 kB / 0.7767 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.6572, allocations: 26.22 kB / 0.7767 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.139e-05/0.6573, allocations: 38.95 kB / 0.7768 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.949e-05/0.6574, allocations: 326.9 kB / 0.7771 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.913e-05/0.6575, allocations: 39.75 kB / 0.7771 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.6576, allocations: 107.3 kB / 0.7772 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.6578, allocations: 144.6 kB / 0.7774 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6578, allocations: 4.641 kB / 0.7774 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003254/0.6581, allocations: 187.1 kB / 0.7776 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.6581, allocations: 10.52 kB / 0.7776 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.6581, allocations: 2.406 kB / 0.7776 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001846/0.6583, allocations: 22.02 kB / 0.7776 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.6585, allocations: 33.11 kB / 0.7776 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.6596, allocations: 1.313 MB / 0.7789 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.6598, allocations: 17.86 kB / 0.7789 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.6598, allocations: 10.56 kB / 0.7789 GB, free: 15.56 MB / 0.5919 GB 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.0001731/0.6599, allocations: 158.3 kB / 0.7791 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.66, allocations: 15.78 kB / 0.7791 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.631e-05/0.66, allocations: 19.77 kB / 0.7791 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.66, allocations: 3.062 kB / 0.7791 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.66, allocations: 0 / 0.7791 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.66, allocations: 0.7031 kB / 0.7791 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007221/0.6608, allocations: 414.3 kB / 0.7795 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.6608, allocations: 5.75 kB / 0.7795 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.833e-05/0.6608, allocations: 8.031 kB / 0.7795 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-05/0.6609, allocations: 20.8 kB / 0.7795 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.6609, allocations: 2.469 kB / 0.7796 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/0.6623, allocations: 1.317 MB / 0.7808 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.6623, allocations: 0 / 0.7808 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.6627, allocations: 222.6 kB / 0.781 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.985e-05/0.6628, allocations: 25.31 kB / 0.7811 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.6628, allocations: 3.938 kB / 0.7811 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.6629, allocations: 3.5 kB / 0.7811 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/0.6629, allocations: 9.125 kB / 0.7811 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.6629, allocations: 0 / 0.7811 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001502/0.6631, allocations: 150.2 kB / 0.7812 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6631, allocations: 0 / 0.7812 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005444/0.6636, allocations: 52.48 kB / 0.7813 GB, free: 13.45 MB / 0.5919 GB 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.0001432/0.6638, allocations: 100.3 kB / 0.7814 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005494/0.6643, allocations: 209.1 kB / 0.7816 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.6643, allocations: 0 / 0.7816 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.6645, allocations: 146.5 kB / 0.7817 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005137/0.665, allocations: 32.36 kB / 0.7817 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009381/0.6659, allocations: 357.5 kB / 0.7821 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/0.6665, allocations: 0.7513 MB / 0.7828 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.6667, allocations: 27.86 kB / 0.7829 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.178e-05/0.6667, allocations: 14.5 kB / 0.7829 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/0.6667, allocations: 0 / 0.7829 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of Templates: time 0.00787/0.6746, allocations: 1.854 MB / 0.7847 GB, free: 11.95 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.407357954420149] Failed to read output from testmodel.py, exit status != 0: 0.6844586040824652 0.709336425 0.053941653000000006 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7efc591f57b0>