Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.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.001285/0.001285, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001491/0.001491, allocations: 212.1 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.553/1.553, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 1.352/1.352, allocations: 203.5 MB / 0.5039 GB, free: 4.902 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor") translateModel(IDEAS.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 63.91 kB / 0.7183 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5859/0.5881, allocations: 102 MB / 0.8178 GB, free: 29.05 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.00643/0.5945, allocations: 3.776 MB / 0.8215 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003566/0.5981, allocations: 1.701 MB / 0.8232 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002644/0.5984, allocations: 11.69 kB / 0.8232 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001591/0.6, allocations: 0.496 MB / 0.8237 GB, free: 25.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.000702/0.6007, allocations: 229.7 kB / 0.8239 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006592/0.6013, allocations: 206.7 kB / 0.8241 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0006064/0.6019, allocations: 478.8 kB / 0.8245 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005707/0.6025, allocations: 291.7 kB / 0.8248 GB, free: 24.7 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.6028, allocations: 197.8 kB / 0.825 GB, free: 24.61 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004374/0.6032, allocations: 212.2 kB / 0.8252 GB, free: 24.54 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.973e-05/0.6033, allocations: 28.41 kB / 0.8252 GB, free: 24.54 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004784/0.6037, allocations: 226.1 kB / 0.8255 GB, free: 24.46 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.6039, allocations: 130.5 kB / 0.8256 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.6041, allocations: 141.8 kB / 0.8257 GB, free: 24.34 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0007579/0.6048, allocations: 0.5025 MB / 0.8262 GB, free: 24.17 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6048, allocations: 0.6562 kB / 0.8262 GB, free: 24.17 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6048, allocations: 1.188 kB / 0.8262 GB, free: 24.17 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.6048, allocations: 5.219 kB / 0.8262 GB, free: 24.16 MB / 0.6387 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.001169/0.606, allocations: 0.5629 MB / 0.8268 GB, free: 23.73 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.6061, allocations: 9.156 kB / 0.8268 GB, free: 23.73 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.6071, allocations: 139.9 kB / 0.8269 GB, free: 23.71 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.6075, allocations: 233.7 kB / 0.8271 GB, free: 23.52 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.6076, allocations: 21.19 kB / 0.8272 GB, free: 23.52 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/0.6076, allocations: 29.7 kB / 0.8272 GB, free: 23.5 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008773/0.6085, allocations: 0.5844 MB / 0.8278 GB, free: 23.11 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.6085, allocations: 0 / 0.8278 GB, free: 23.11 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.438e-05/0.6086, allocations: 13.38 kB / 0.8278 GB, free: 23.1 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.359e-05/0.6086, allocations: 25.72 kB / 0.8278 GB, free: 23.1 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006181/0.6092, allocations: 325.7 kB / 0.8281 GB, free: 22.98 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002123/0.6114, allocations: 1.514 MB / 0.8296 GB, free: 21.79 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004109/0.6118, allocations: 171.6 kB / 0.8297 GB, free: 21.71 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.612, allocations: 98.89 kB / 0.8298 GB, free: 21.67 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.612, allocations: 2.031 kB / 0.8298 GB, free: 21.67 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.6121, allocations: 41.25 kB / 0.8299 GB, free: 21.62 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=14): time 2.104e-06/0.6121, allocations: 0 / 0.8299 GB, free: 21.62 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14): time 0.0006446/0.6127, allocations: 225.5 kB / 0.8301 GB, free: 21.52 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.6127, allocations: 57.75 kB / 0.8301 GB, free: 21.46 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.613, allocations: 228.7 kB / 0.8304 GB, free: 21.31 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.613, allocations: 31.78 kB / 0.8304 GB, free: 21.28 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.6132, allocations: 213.6 kB / 0.8306 GB, free: 21.1 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.6132, allocations: 55.53 kB / 0.8307 GB, free: 21.05 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.632e-05/0.6133, allocations: 50.66 kB / 0.8307 GB, free: 21.02 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.82e-05/0.6134, allocations: 334 kB / 0.831 GB, free: 20.69 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.6135, allocations: 55.03 kB / 0.8311 GB, free: 20.68 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.6136, allocations: 141.5 kB / 0.8312 GB, free: 20.55 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.6139, allocations: 219.8 kB / 0.8314 GB, free: 20.39 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.6139, allocations: 1.031 kB / 0.8314 GB, free: 20.39 MB / 0.6387 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004719/0.6144, allocations: 263.1 kB / 0.8317 GB, free: 20.26 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.6144, allocations: 6.984 kB / 0.8317 GB, free: 20.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.6144, allocations: 3.5 kB / 0.8317 GB, free: 20.26 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001959/0.6146, allocations: 30.59 kB / 0.8317 GB, free: 20.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.6148, allocations: 48.14 kB / 0.8318 GB, free: 20.24 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000833/0.6156, allocations: 1.297 MB / 0.833 GB, free: 18.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.6158, allocations: 23.83 kB / 0.833 GB, free: 18.97 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.6158, allocations: 8.375 kB / 0.8331 GB, free: 18.97 MB / 0.6387 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.0001828/0.616, allocations: 177 kB / 0.8332 GB, free: 18.82 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.6161, allocations: 26.22 kB / 0.8332 GB, free: 18.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.555e-05/0.6161, allocations: 24.91 kB / 0.8333 GB, free: 18.78 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.6161, allocations: 1.031 kB / 0.8333 GB, free: 18.78 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6161, allocations: 1.656 kB / 0.8333 GB, free: 18.78 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.6161, allocations: 0.6094 kB / 0.8333 GB, free: 18.78 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008419/0.617, allocations: 0.5581 MB / 0.8338 GB, free: 18.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.617, allocations: 1.656 kB / 0.8338 GB, free: 18.38 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.751e-05/0.6171, allocations: 21.05 kB / 0.8338 GB, free: 18.38 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.832e-05/0.6171, allocations: 25.48 kB / 0.8339 GB, free: 18.37 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.6172, allocations: 1.812 kB / 0.8339 GB, free: 18.37 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007489/0.6179, allocations: 1.3 MB / 0.8351 GB, free: 17.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.6179, allocations: 5.703 kB / 0.8351 GB, free: 17.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.6183, allocations: 315.8 kB / 0.8354 GB, free: 16.85 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.165e-05/0.6184, allocations: 37.14 kB / 0.8355 GB, free: 16.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.6184, allocations: 3.156 kB / 0.8355 GB, free: 16.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.6186, allocations: 16.36 kB / 0.8355 GB, free: 16.82 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.6186, allocations: 11.58 kB / 0.8355 GB, free: 16.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.6186, allocations: 13.16 kB / 0.8355 GB, free: 16.81 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001821/0.6188, allocations: 162 kB / 0.8357 GB, free: 16.71 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6188, allocations: 0 / 0.8357 GB, free: 16.71 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005541/0.6194, allocations: 88.78 kB / 0.8358 GB, free: 16.68 MB / 0.6387 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.0001508/0.6195, allocations: 103.1 kB / 0.8359 GB, free: 16.59 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00057/0.6201, allocations: 268 kB / 0.8361 GB, free: 16.43 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.6201, allocations: 1.516 kB / 0.8361 GB, free: 16.43 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.6203, allocations: 174.7 kB / 0.8363 GB, free: 16.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000535/0.6208, allocations: 50.28 kB / 0.8363 GB, free: 16.29 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.622, allocations: 0.5494 MB / 0.8369 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.6222, allocations: 183 kB / 0.837 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001698/0.6224, allocations: 40.66 kB / 0.8371 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.707e-05/0.6224, allocations: 18.38 kB / 0.8371 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of SimCode: time 1.092e-06/0.6224, allocations: 0 / 0.8371 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of Templates: time 0.008748/0.6312, allocations: 2.769 MB / 0.8398 GB, free: 15.51 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.sim & ./IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.001070586964488] Failed to read output from testmodel.py, exit status != 0: 0.6404269598424435 0.653128987 0.04536015 Calling exit ...