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.001282/0.001282, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.00132/0.00132, allocations: 202.9 kB / 22.17 MB, free: 5.211 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.334/1.334, allocations: 225.6 MB / 250.9 MB, free: 13.26 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/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.029/1.029, allocations: 175.8 MB / 481.9 MB, free: 7.707 MB / 382.1 MB " [Timeout remaining time 179] 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.001888/0.001888, allocations: 68.14 kB / 0.6705 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4928/0.4947, allocations: 94.53 MB / 0.7628 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.004285/0.499, allocations: 3.173 MB / 0.7659 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001845/0.5009, allocations: 1.371 MB / 0.7672 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.501, allocations: 5.344 kB / 0.7672 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009283/0.5019, allocations: 350.6 kB / 0.7676 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.5022, allocations: 139.8 kB / 0.7677 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.5025, allocations: 139.1 kB / 0.7678 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003157/0.5028, allocations: 305.7 kB / 0.7681 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003184/0.5032, allocations: 163 kB / 0.7683 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.5033, allocations: 125.6 kB / 0.7684 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.5036, allocations: 144.7 kB / 0.7685 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.5036, allocations: 19.34 kB / 0.7686 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002529/0.5039, allocations: 175.2 kB / 0.7687 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.383e-05/0.5039, allocations: 76.62 kB / 0.7688 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.643e-05/0.504, allocations: 116.7 kB / 0.7689 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.5044, allocations: 342.8 kB / 0.7692 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.5044, allocations: 1.25 kB / 0.7692 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5044, allocations: 0 / 0.7692 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.5044, allocations: 0 / 0.7692 GB, free: 6.543 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.0006823/0.5051, allocations: 0.5159 MB / 0.7698 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.5051, allocations: 10.56 kB / 0.7698 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005527/0.5057, allocations: 81.3 kB / 0.7698 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.5059, allocations: 255.8 kB / 0.7701 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.5059, allocations: 12.31 kB / 0.7701 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.506, allocations: 18.28 kB / 0.7701 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.5063, allocations: 304.4 kB / 0.7704 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.5064, allocations: 0 / 0.7704 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.5064, allocations: 6.844 kB / 0.7704 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.369e-05/0.5064, allocations: 20.48 kB / 0.7704 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/0.5067, allocations: 194 kB / 0.7706 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.5078, allocations: 1.466 MB / 0.772 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.508, allocations: 178.2 kB / 0.7722 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.5081, allocations: 30.28 kB / 0.7722 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.5081, allocations: 1.375 kB / 0.7722 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.5081, allocations: 35.77 kB / 0.7723 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.5081, allocations: 0 / 0.7723 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0004201/0.5085, allocations: 231.8 kB / 0.7725 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.016e-05/0.5085, allocations: 52.62 kB / 0.7726 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.5087, allocations: 197.2 kB / 0.7727 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.5087, allocations: 26.55 kB / 0.7728 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/0.5088, allocations: 173.3 kB / 0.7729 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.5088, allocations: 24.2 kB / 0.773 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.5088, allocations: 40.56 kB / 0.773 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.978e-05/0.5089, allocations: 330.8 kB / 0.7733 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.055e-05/0.5089, allocations: 33.69 kB / 0.7733 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.509, allocations: 98.72 kB / 0.7734 GB, free: 3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.5092, allocations: 153.1 kB / 0.7736 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.5092, allocations: 0 / 0.7736 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002738/0.5095, allocations: 187.8 kB / 0.7738 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.5095, allocations: 5.781 kB / 0.7738 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5095, allocations: 4.672 kB / 0.7738 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000145/0.5096, allocations: 28.22 kB / 0.7738 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.5097, allocations: 27.69 kB / 0.7738 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007045/0.5104, allocations: 1.418 MB / 0.7752 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.5105, allocations: 22.52 kB / 0.7752 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.5106, allocations: 6.438 kB / 0.7752 GB, free: 1.328 MB / 0.5762 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 9.225e-05/0.5106, allocations: 153 kB / 0.7754 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.5107, allocations: 21.41 kB / 0.7754 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.5107, allocations: 15.66 kB / 0.7754 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.5107, allocations: 0.9688 kB / 0.7754 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.5107, allocations: 0.875 kB / 0.7754 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.5107, allocations: 0.9062 kB / 0.7754 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004099/0.5111, allocations: 454 kB / 0.7759 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5111, allocations: 96 / 0.7759 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.796e-05/0.5112, allocations: 11 kB / 0.7759 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.896e-05/0.5112, allocations: 26.25 kB / 0.7759 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.5112, allocations: 0.7969 kB / 0.7759 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008533/0.5121, allocations: 1.42 MB / 0.7773 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.5121, allocations: 0 / 0.7773 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.5123, allocations: 210.6 kB / 0.7775 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.826e-05/0.5124, allocations: 99.36 kB / 0.7776 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.5124, allocations: 5.438 kB / 0.7776 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.5125, allocations: 10.14 kB / 0.7776 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.5126, allocations: 6.562 kB / 0.7776 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.5126, allocations: 1.75 kB / 0.7776 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001352/0.5127, allocations: 144.7 kB / 0.7777 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5127, allocations: 0 / 0.7777 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003469/0.5131, allocations: 53.17 kB / 0.7778 GB, free: 14.96 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.0001226/0.5132, allocations: 105.4 kB / 0.7779 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003679/0.5135, allocations: 214.9 kB / 0.7781 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5135, allocations: 0 / 0.7781 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.5137, allocations: 144 kB / 0.7782 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.514, allocations: 30.42 kB / 0.7783 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006452/0.5147, allocations: 366.9 kB / 0.7786 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.5151, allocations: 0.7466 MB / 0.7793 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.243e-05/0.5152, allocations: 26.8 kB / 0.7794 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.5152, allocations: 14.38 kB / 0.7794 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.5152, allocations: 0 / 0.7794 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of Templates: time 0.0049/0.5201, allocations: 1.831 MB / 0.7812 GB, free: 13.49 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.565773312933743] Failed to read output from testmodel.py, exit status != 0: 0.5278857420198619 0.5417042950000001 0.034124505 Calling exit ...