Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.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.00123/0.00123, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001335/0.001335, allocations: 192.2 kB / 22.17 MB, free: 5.656 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.361/1.361, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.063/1.063, allocations: 175.8 MB / 481.9 MB, free: 7.684 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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor") translateModel(IDEAS.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 62.8 kB / 0.6705 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5368/0.5387, allocations: 94.54 MB / 0.7628 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.005313/0.5441, allocations: 3.97 MB / 0.7667 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002479/0.5465, allocations: 1.784 MB / 0.7684 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.5467, allocations: 11.38 kB / 0.7684 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.548, allocations: 0.5003 MB / 0.7689 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004653/0.5484, allocations: 224.5 kB / 0.7691 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/0.5489, allocations: 218.6 kB / 0.7693 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004376/0.5494, allocations: 474.1 kB / 0.7698 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004108/0.5498, allocations: 260.5 kB / 0.77 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.55, allocations: 195.2 kB / 0.7702 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003506/0.5503, allocations: 227.6 kB / 0.7704 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.545e-05/0.5504, allocations: 28.25 kB / 0.7705 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004146/0.5508, allocations: 253.7 kB / 0.7707 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.5509, allocations: 128.7 kB / 0.7708 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.551, allocations: 174.9 kB / 0.771 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005824/0.5516, allocations: 0.5008 MB / 0.7715 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5516, allocations: 1.188 kB / 0.7715 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5516, allocations: 2.125 kB / 0.7715 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.5516, allocations: 0 / 0.7715 GB, free: 5.246 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0009231/0.5526, allocations: 0.6437 MB / 0.7721 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.5526, allocations: 9.344 kB / 0.7721 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008941/0.5535, allocations: 136.9 kB / 0.7723 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.5539, allocations: 304.1 kB / 0.7725 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.5539, allocations: 20.38 kB / 0.7726 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/0.554, allocations: 27.2 kB / 0.7726 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006256/0.5546, allocations: 466.3 kB / 0.773 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.5546, allocations: 4.844 kB / 0.773 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/0.5546, allocations: 18.48 kB / 0.7731 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.642e-05/0.5547, allocations: 29.55 kB / 0.7731 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.5552, allocations: 322.6 kB / 0.7734 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.557, allocations: 2.174 MB / 0.7755 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.5573, allocations: 246.3 kB / 0.7758 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.5576, allocations: 95.39 kB / 0.7758 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.5576, allocations: 2.594 kB / 0.7758 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.5576, allocations: 37.45 kB / 0.7759 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 2.234e-06/0.5576, allocations: 4.828 kB / 0.7759 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0005869/0.5582, allocations: 299.1 kB / 0.7762 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.5582, allocations: 57.59 kB / 0.7762 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.5585, allocations: 271.9 kB / 0.7765 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.5585, allocations: 30.7 kB / 0.7765 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.544e-05/0.5586, allocations: 204.8 kB / 0.7767 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.5586, allocations: 55.12 kB / 0.7768 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.218e-05/0.5587, allocations: 51.38 kB / 0.7768 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.997e-05/0.5588, allocations: 339.6 kB / 0.7771 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.173e-05/0.5588, allocations: 54.28 kB / 0.7772 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.559, allocations: 148.1 kB / 0.7773 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.5592, allocations: 223.8 kB / 0.7775 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.5592, allocations: 0 / 0.7775 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003538/0.5595, allocations: 269 kB / 0.7778 GB, free: 380 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.5595, allocations: 8.312 kB / 0.7778 GB, free: 380 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5595, allocations: 3.344 kB / 0.7778 GB, free: 380 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001589/0.5597, allocations: 27.12 kB / 0.7778 GB, free: 368 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.5599, allocations: 48.62 kB / 0.7779 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.561, allocations: 1.428 MB / 0.7793 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.5612, allocations: 32.59 kB / 0.7793 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.5612, allocations: 7.906 kB / 0.7793 GB, free: 14.91 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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.000175/0.5614, allocations: 167.2 kB / 0.7795 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.5615, allocations: 24.7 kB / 0.7795 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.315e-05/0.5615, allocations: 31.34 kB / 0.7795 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.5615, allocations: 0 / 0.7795 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5615, allocations: 2.953 kB / 0.7795 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.5615, allocations: 0.7031 kB / 0.7795 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009508/0.5625, allocations: 0.7095 MB / 0.7802 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.5625, allocations: 2.656 kB / 0.7802 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.059e-05/0.5625, allocations: 21.47 kB / 0.7803 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.06e-05/0.5626, allocations: 38.48 kB / 0.7803 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.5626, allocations: 0.7031 kB / 0.7803 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.5637, allocations: 1.413 MB / 0.7817 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.5637, allocations: 5.406 kB / 0.7817 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.5641, allocations: 314.8 kB / 0.782 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.5642, allocations: 117.8 kB / 0.7821 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.5642, allocations: 4.797 kB / 0.7821 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.5644, allocations: 18 kB / 0.7821 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.5644, allocations: 16.36 kB / 0.7821 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.5644, allocations: 8.391 kB / 0.7821 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001896/0.5646, allocations: 189 kB / 0.7823 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.5646, allocations: 0 / 0.7823 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003887/0.565, allocations: 82.06 kB / 0.7824 GB, free: 12.22 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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.0001238/0.5651, allocations: 108.4 kB / 0.7825 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004763/0.5656, allocations: 262.2 kB / 0.7827 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5656, allocations: 1.312 kB / 0.7827 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.5659, allocations: 180.1 kB / 0.7829 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.5663, allocations: 63.28 kB / 0.783 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008618/0.5672, allocations: 0.5456 MB / 0.7835 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.5676, allocations: 0.7936 MB / 0.7843 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001249/0.5677, allocations: 41.47 kB / 0.7843 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/0.5678, allocations: 19.77 kB / 0.7843 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.5678, allocations: 0 / 0.7843 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of Templates: time 0.006295/0.5741, allocations: 2.818 MB / 0.7871 GB, free: 10.53 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9610641142353415] Failed to read output from testmodel.py, exit status != 0: 0.5818500788882375 0.596005062 0.041413602 Calling exit ...