Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.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.001891/0.001891, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.002369/0.002369, allocations: 190.2 kB / 22.22 MB, free: 5.105 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.577/1.577, 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.186/1.186, allocations: 177.9 MB / 484.2 MB, free: 5.383 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.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 69.05 kB / 0.674 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.555/0.5572, allocations: 95.16 MB / 0.7669 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.00256/0.5597, allocations: 1.439 MB / 0.7683 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002915/0.5626, allocations: 2.714 MB / 0.771 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.55e-05/0.5627, allocations: 0.75 kB / 0.771 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001546/0.5642, allocations: 0.5899 MB / 0.7715 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.917e-05/0.5643, allocations: 19.28 kB / 0.7715 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 4.248e-06/0.5643, allocations: 0 / 0.7715 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.5646, allocations: 165.7 kB / 0.7717 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.731e-05/0.5646, allocations: 12.81 kB / 0.7717 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.856e-05/0.5647, allocations: 66.89 kB / 0.7718 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.5649, allocations: 73.19 kB / 0.7719 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.5649, allocations: 2.562 kB / 0.7719 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001279/0.5662, allocations: 475.1 kB / 0.7723 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.848e-05/0.5662, allocations: 36.36 kB / 0.7723 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.5664, allocations: 100.7 kB / 0.7724 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007114/0.5671, allocations: 435.6 kB / 0.7729 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5671, allocations: 0 / 0.7729 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5671, allocations: 1.125 kB / 0.7729 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.5671, allocations: 0 / 0.7729 GB, free: 4.566 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008584/0.5679, allocations: 0.4915 MB / 0.7733 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.568, allocations: 9.75 kB / 0.7733 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.5681, allocations: 106.3 kB / 0.7734 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.5683, allocations: 240.3 kB / 0.7737 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.5684, allocations: 157.9 kB / 0.7738 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.5684, allocations: 161.4 kB / 0.774 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.239e-05/0.5685, allocations: 102.8 kB / 0.7741 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.5685, allocations: 79.45 kB / 0.7742 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.5685, allocations: 154.5 kB / 0.7743 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.5685, allocations: 150.6 kB / 0.7744 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.424e-05/0.5685, allocations: 151.7 kB / 0.7746 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.5688, allocations: 0.5113 MB / 0.7751 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.019e-05/0.5689, allocations: 171 kB / 0.7753 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.73e-05/0.5689, allocations: 86.11 kB / 0.7753 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.5689, allocations: 75.28 kB / 0.7754 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.5689, allocations: 110.8 kB / 0.7755 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.5689, allocations: 0 / 0.7755 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001718/0.5691, allocations: 59.19 kB / 0.7756 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.5692, allocations: 130.6 kB / 0.7757 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004272/0.5696, allocations: 439.3 kB / 0.7761 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.607e-06/0.5696, allocations: 25.7 kB / 0.7761 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.5697, allocations: 133.9 kB / 0.7763 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.5697, allocations: 4 kB / 0.7763 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.236e-05/0.5697, allocations: 89.23 kB / 0.7764 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.638e-05/0.5698, allocations: 340 kB / 0.7767 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.5699, allocations: 97.03 kB / 0.7768 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.5701, allocations: 164 kB / 0.7769 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003144/0.5704, allocations: 307.9 kB / 0.7772 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5704, allocations: 0 / 0.7772 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005116/0.5709, allocations: 329 kB / 0.7775 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.5709, allocations: 6.594 kB / 0.7775 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5709, allocations: 5.125 kB / 0.7775 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.571, allocations: 3.406 kB / 0.7775 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.348e-06/0.571, allocations: 6.984 kB / 0.7776 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.571, allocations: 1.344 kB / 0.7776 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.5711, allocations: 49.75 kB / 0.7776 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.5711, allocations: 3.844 kB / 0.7776 GB, free: 0.5625 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002119/0.5714, allocations: 243 kB / 0.7778 GB, free: 372 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-05/0.5714, allocations: 132.9 kB / 0.778 GB, free: 240 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.204e-05/0.5714, allocations: 115.8 kB / 0.7781 GB, free: 124 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.63e-05/0.5715, allocations: 185.6 kB / 0.7783 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.655e-05/0.5716, allocations: 186.2 kB / 0.7784 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.431e-05/0.5717, allocations: 182.3 kB / 0.7786 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003848/0.5721, allocations: 448.2 kB / 0.779 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.59e-05/0.5721, allocations: 103.2 kB / 0.7791 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-05/0.5722, allocations: 102.5 kB / 0.7792 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.311e-05/0.5723, allocations: 186 kB / 0.7794 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.279e-05/0.5724, allocations: 182.1 kB / 0.7796 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.654e-05/0.5724, allocations: 181.3 kB / 0.7798 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.015e-05/0.5725, allocations: 177.7 kB / 0.7799 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.5727, allocations: 328 kB / 0.7802 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.5728, allocations: 126.8 kB / 0.7804 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.573, allocations: 198.2 kB / 0.7805 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.5731, allocations: 102.6 kB / 0.7806 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.368e-05/0.5732, allocations: 186 kB / 0.7808 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-05/0.5732, allocations: 103.4 kB / 0.7809 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004152/0.5737, allocations: 283.8 kB / 0.7812 GB, free: 13 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5737, allocations: 0 / 0.7812 GB, free: 13 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004623/0.5741, allocations: 86.8 kB / 0.7813 GB, free: 12.98 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000483/0.5746, allocations: 302.3 kB / 0.7816 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.5748, allocations: 117.6 kB / 0.7817 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5749, allocations: 0 / 0.7817 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.969e-06/0.5749, allocations: 5.281 kB / 0.7817 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/0.5753, allocations: 467.4 kB / 0.7821 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007067/0.576, allocations: 0.4941 MB / 0.7826 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.5765, allocations: 0.779 MB / 0.7834 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.542e-05/0.5765, allocations: 4.016 kB / 0.7834 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.5765, allocations: 15.78 kB / 0.7834 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.5765, allocations: 0 / 0.7834 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of Templates: time 0.007404/0.5839, allocations: 3.08 MB / 0.7864 GB, free: 10.86 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.881212712265551] Failed to read output from testmodel.py, exit status != 0: 0.5921630347147584 0.607772969 0.037545457000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fc15ae4d7b0>