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.0007408/0.0007408, allocations: 100.4 kB / 19.7 MB, free: 448 kB / 13.93 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.0007956/0.0007956, allocations: 216.9 kB / 23 MB, free: 2.988 MB / 13.93 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 0.8887/0.8887, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7387/0.7387, allocations: 203.5 MB / 0.5046 GB, free: 10.72 MB / 410.7 MB " [Timeout remaining time 179] 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.001302/0.001302, allocations: 74.92 kB / 0.719 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4747/0.476, allocations: 102 MB / 0.8186 GB, free: 1.527 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.003807/0.4798, allocations: 3.777 MB / 0.8223 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002073/0.4819, allocations: 1.706 MB / 0.8239 GB, free: 14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.4821, allocations: 10.91 kB / 0.8239 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008612/0.4829, allocations: 0.4897 MB / 0.8244 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004428/0.4834, allocations: 227.4 kB / 0.8246 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.4838, allocations: 211.1 kB / 0.8248 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004762/0.4843, allocations: 475.6 kB / 0.8253 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004628/0.4848, allocations: 284.1 kB / 0.8256 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.485, allocations: 205.6 kB / 0.8258 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003545/0.4853, allocations: 211.8 kB / 0.826 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.4854, allocations: 28.28 kB / 0.826 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003116/0.4857, allocations: 224.8 kB / 0.8262 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.4858, allocations: 129.2 kB / 0.8263 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.4859, allocations: 146.8 kB / 0.8265 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005552/0.4865, allocations: 0.5041 MB / 0.827 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4865, allocations: 1.469 kB / 0.827 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4865, allocations: 0 / 0.827 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.4865, allocations: 0 / 0.827 GB, free: 12.6 MB / 0.6198 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.0008592/0.4873, allocations: 0.5616 MB / 0.8275 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.4874, allocations: 10.11 kB / 0.8275 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005502/0.4879, allocations: 137.4 kB / 0.8277 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.4882, allocations: 234.2 kB / 0.8279 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.4883, allocations: 27.77 kB / 0.8279 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.4883, allocations: 31.42 kB / 0.8279 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005404/0.4888, allocations: 0.5793 MB / 0.8285 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.4888, allocations: 1.406 kB / 0.8285 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.4889, allocations: 15.58 kB / 0.8285 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.109e-05/0.4889, allocations: 27.28 kB / 0.8285 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003707/0.4893, allocations: 320.8 kB / 0.8288 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.4906, allocations: 1.52 MB / 0.8303 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.4908, allocations: 162.7 kB / 0.8305 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.491, allocations: 95.06 kB / 0.8306 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.078e-06/0.491, allocations: 9.719 kB / 0.8306 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.4911, allocations: 37.38 kB / 0.8306 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.4911, allocations: 0.5312 kB / 0.8306 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0004878/0.4915, allocations: 220.6 kB / 0.8308 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.4916, allocations: 53.56 kB / 0.8309 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.4918, allocations: 238 kB / 0.8311 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.4918, allocations: 30.73 kB / 0.8311 GB, free: 9.695 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.4919, allocations: 214.6 kB / 0.8313 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.492, allocations: 54.61 kB / 0.8314 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.261e-05/0.492, allocations: 51.22 kB / 0.8314 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.667e-05/0.4921, allocations: 334 kB / 0.8318 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.986e-05/0.4922, allocations: 53.97 kB / 0.8318 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.4923, allocations: 144 kB / 0.832 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.4925, allocations: 214.3 kB / 0.8322 GB, free: 8.805 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4926, allocations: 0.6094 kB / 0.8322 GB, free: 8.805 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002976/0.4928, allocations: 264.7 kB / 0.8324 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.4929, allocations: 7.031 kB / 0.8324 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.4929, allocations: 4.188 kB / 0.8324 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001382/0.493, allocations: 27 kB / 0.8324 GB, free: 8.664 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.4931, allocations: 47.36 kB / 0.8325 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007159/0.4939, allocations: 1.308 MB / 0.8338 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.789e-05/0.4939, allocations: 23.81 kB / 0.8338 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.494, allocations: 8.75 kB / 0.8338 GB, free: 7.375 MB / 0.6198 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.0001285/0.4941, allocations: 170 kB / 0.834 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.4941, allocations: 21.72 kB / 0.834 GB, free: 7.219 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.563e-05/0.4941, allocations: 29.86 kB / 0.834 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4941, allocations: 1.25 kB / 0.834 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4941, allocations: 1.703 kB / 0.834 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4942, allocations: 0.9375 kB / 0.834 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005696/0.4947, allocations: 0.554 MB / 0.8346 GB, free: 6.793 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4947, allocations: 5 kB / 0.8346 GB, free: 6.789 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.844e-05/0.4948, allocations: 25.44 kB / 0.8346 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.645e-05/0.4948, allocations: 29.11 kB / 0.8346 GB, free: 6.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.4948, allocations: 2.656 kB / 0.8346 GB, free: 6.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005962/0.4954, allocations: 1.291 MB / 0.8359 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.4954, allocations: 2.828 kB / 0.8359 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.4957, allocations: 318 kB / 0.8362 GB, free: 5.262 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.4957, allocations: 37.56 kB / 0.8362 GB, free: 5.242 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.4957, allocations: 2.938 kB / 0.8362 GB, free: 5.242 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.912e-05/0.4958, allocations: 16.11 kB / 0.8362 GB, free: 5.234 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.4959, allocations: 15.77 kB / 0.8363 GB, free: 5.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.4959, allocations: 13.12 kB / 0.8363 GB, free: 5.223 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001187/0.496, allocations: 159 kB / 0.8364 GB, free: 5.125 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.496, allocations: 0 / 0.8364 GB, free: 5.125 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002779/0.4963, allocations: 88.08 kB / 0.8365 GB, free: 5.098 MB / 0.6198 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 8.152e-05/0.4963, allocations: 103.2 kB / 0.8366 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003359/0.4967, allocations: 268.1 kB / 0.8369 GB, free: 4.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4967, allocations: 0 / 0.8369 GB, free: 4.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.4969, allocations: 180 kB / 0.837 GB, free: 4.707 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.4972, allocations: 53.22 kB / 0.8371 GB, free: 4.695 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000682/0.4978, allocations: 0.5833 MB / 0.8376 GB, free: 4.305 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.498, allocations: 191 kB / 0.8378 GB, free: 4.207 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/0.498, allocations: 19.5 kB / 0.8378 GB, free: 4.199 MB / 0.6198 GB Notification: Performance of SimCode: time 3.51e-07/0.498, allocations: 0 / 0.8378 GB, free: 4.199 MB / 0.6198 GB Notification: Performance of Templates: time 0.00502/0.5031, allocations: 4.348 MB / 0.8421 GB, free: 2.852 MB / 0.6198 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: 6.298455014824867] Failed to read output from testmodel.py, exit status != 0: 0.5102157290093601 0.5244005580000001 0.03491028 Calling exit ...