Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.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.0007256/0.0007256, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007466/0.0007466, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.8433/0.8433, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.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.6815/0.6815, allocations: 154.6 MB / 414.5 MB, free: 0.7969 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel") translateModel(IDEAS.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.6193 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.896e-05, allocations: 2.281 kB / 0.6193 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.003658/0.003677, allocations: 4.221 MB / 0.6234 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.001922/0.005599, allocations: 1.815 MB / 0.6252 GB, free: 6.059 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.005716, allocations: 15.88 kB / 0.6252 GB, free: 6.043 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0007776/0.006494, allocations: 0.5937 MB / 0.6258 GB, free: 5.449 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0003198/0.006813, allocations: 274.2 kB / 0.626 GB, free: 5.18 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.007101, allocations: 259.2 kB / 0.6263 GB, free: 4.926 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0004014/0.007502, allocations: 0.6303 MB / 0.6269 GB, free: 4.293 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003771/0.007879, allocations: 335.2 kB / 0.6272 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002347/0.008114, allocations: 359.2 kB / 0.6276 GB, free: 3.613 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003076/0.008421, allocations: 235.4 kB / 0.6278 GB, free: 3.383 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.00846, allocations: 36 kB / 0.6278 GB, free: 3.348 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.008678, allocations: 243.2 kB / 0.6281 GB, free: 3.109 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 9.664e-05/0.008774, allocations: 167.5 kB / 0.6282 GB, free: 2.945 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.008877, allocations: 151.7 kB / 0.6284 GB, free: 2.797 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.00045/0.009327, allocations: 0.6269 MB / 0.629 GB, free: 2.168 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.175e-06/0.009329, allocations: 0 / 0.629 GB, free: 2.168 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.032e-06/0.00933, allocations: 0 / 0.629 GB, free: 2.168 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.009335, allocations: 0 / 0.629 GB, free: 2.168 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0006922/0.01003, allocations: 0.6609 MB / 0.6296 GB, free: 1.473 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.01006, allocations: 8.031 kB / 0.6296 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000464/0.01052, allocations: 152.5 kB / 0.6298 GB, free: 1.316 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.01081, allocations: 272.5 kB / 0.63 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.01083, allocations: 33.34 kB / 0.6301 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.997e-05/0.01087, allocations: 32.38 kB / 0.6301 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007363/0.0116, allocations: 0.6826 MB / 0.6308 GB, free: 212 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.01161, allocations: 4.172 kB / 0.6308 GB, free: 208 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.01164, allocations: 12.38 kB / 0.6308 GB, free: 196 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.493e-05/0.01167, allocations: 40.56 kB / 0.6308 GB, free: 156 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003731/0.01205, allocations: 386.4 kB / 0.6312 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.01328, allocations: 1.66 MB / 0.6328 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.0136, allocations: 248.3 kB / 0.6331 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.661e-05/0.0137, allocations: 96.81 kB / 0.6331 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.01371, allocations: 0 / 0.6331 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.01373, allocations: 38.56 kB / 0.6332 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=20): time 1.894e-06/0.01373, allocations: 4 kB / 0.6332 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23): time 0.001184/0.01491, allocations: 0.8905 MB / 0.6341 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.01494, allocations: 55.41 kB / 0.6341 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.01511, allocations: 273.8 kB / 0.6344 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.01513, allocations: 29.7 kB / 0.6344 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 9.546e-05/0.01523, allocations: 251.9 kB / 0.6346 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.01527, allocations: 79.28 kB / 0.6347 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.147e-05/0.01533, allocations: 69.92 kB / 0.6348 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.66e-05/0.0154, allocations: 342.8 kB / 0.6351 GB, free: 11.6 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.01551, allocations: 104.6 kB / 0.6352 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.01564, allocations: 196.6 kB / 0.6354 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.0159, allocations: 313.9 kB / 0.6357 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.0159, allocations: 0 / 0.6357 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004234/0.01633, allocations: 438.8 kB / 0.6361 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.01634, allocations: 4 kB / 0.6361 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.01634, allocations: 7.984 kB / 0.6361 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001918/0.01654, allocations: 106.4 kB / 0.6362 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.01668, allocations: 72.09 kB / 0.6363 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/0.01865, allocations: 3.993 MB / 0.6402 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.803e-05/0.01875, allocations: 12 kB / 0.6402 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.01877, allocations: 12 kB / 0.6402 GB, free: 5.961 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.01888, allocations: 181.7 kB / 0.6404 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.01891, allocations: 27.81 kB / 0.6404 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.01894, allocations: 38.27 kB / 0.6404 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.01894, allocations: 4.094 kB / 0.6405 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.01895, allocations: 4 kB / 0.6405 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01895, allocations: 3.984 kB / 0.6405 GB, free: 5.699 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.01917, allocations: 289.1 kB / 0.6407 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01917, allocations: 4 kB / 0.6407 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-05/0.01926, allocations: 27.98 kB / 0.6408 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/0.01941, allocations: 106.5 kB / 0.6409 GB, free: 5.242 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.01942, allocations: 4 kB / 0.6409 GB, free: 5.238 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001844/0.02127, allocations: 3.986 MB / 0.6448 GB, free: 0.9492 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.02127, allocations: 0 / 0.6448 GB, free: 0.9492 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004644/0.02173, allocations: 0.5552 MB / 0.6453 GB, free: 380 kB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.02179, allocations: 43.78 kB / 0.6453 GB, free: 336 kB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.02181, allocations: 16.22 kB / 0.6454 GB, free: 320 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.051e-05/0.0219, allocations: 8 kB / 0.6454 GB, free: 312 kB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.02193, allocations: 27.89 kB / 0.6454 GB, free: 284 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.02194, allocations: 4 kB / 0.6454 GB, free: 280 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001075/0.02205, allocations: 189.2 kB / 0.6456 GB, free: 88 kB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.02205, allocations: 0 / 0.6456 GB, free: 88 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.2282/0.2502, allocations: 101.8 kB / 0.6457 GB, free: 38.14 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000153/0.2504, allocations: 98.55 kB / 0.6458 GB, free: 38.05 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006216/0.251, allocations: 0.5884 MB / 0.6463 GB, free: 37.73 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.251, allocations: 0 / 0.6463 GB, free: 37.73 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000242/0.2512, allocations: 462.8 kB / 0.6468 GB, free: 37.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.2516, allocations: 66.75 kB / 0.6469 GB, free: 37.39 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008013/0.2524, allocations: 0.7242 MB / 0.6476 GB, free: 37.07 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001608/0.2525, allocations: 230.2 kB / 0.6478 GB, free: 36.99 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.519e-05/0.2526, allocations: 24 kB / 0.6478 GB, free: 36.98 MB / 0.5573 GB Notification: Performance of SimCode: time 4.91e-07/0.2526, allocations: 0.9688 kB / 0.6478 GB, free: 36.98 MB / 0.5573 GB Notification: Performance of Templates: time 0.008458/0.2611, allocations: 8.688 MB / 0.6563 GB, free: 36.51 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.sim & ./IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.252052933908999] Failed to read output from testmodel.py, exit status != 0: 0.2658076249063015 0.272661036 0.261872152 Calling exit ...