Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007526/0.0007526, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008043/0.0008043, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9218/0.9218, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7328/0.7328, allocations: 154.5 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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: "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.644e-05/1.816e-05, allocations: 2.281 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.004155/0.004173, allocations: 4.203 MB / 0.6221 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002772/0.006945, allocations: 1.819 MB / 0.6239 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.007143, allocations: 11.94 kB / 0.6239 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0009043/0.008048, allocations: 0.6023 MB / 0.6245 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0005503/0.008598, allocations: 278.3 kB / 0.6248 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007246/0.009323, allocations: 247.2 kB / 0.625 GB, free: 6.566 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005944/0.009917, allocations: 0.6305 MB / 0.6256 GB, free: 5.934 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004394/0.01036, allocations: 347.1 kB / 0.6259 GB, free: 5.594 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002931/0.01065, allocations: 347.2 kB / 0.6263 GB, free: 5.254 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000339/0.01099, allocations: 247.3 kB / 0.6265 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.616e-05/0.01103, allocations: 40 kB / 0.6266 GB, free: 4.973 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000287/0.01132, allocations: 239.3 kB / 0.6268 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.01143, allocations: 163.5 kB / 0.6269 GB, free: 4.578 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.01154, allocations: 159.6 kB / 0.6271 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005068/0.01205, allocations: 0.6153 MB / 0.6277 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.01205, allocations: 0 / 0.6277 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.11e-07/0.01205, allocations: 0 / 0.6277 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.01206, allocations: 0 / 0.6277 GB, free: 3.805 MB / 0.5886 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.0007752/0.01284, allocations: 0.6648 MB / 0.6283 GB, free: 3.109 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.01287, allocations: 9.469 kB / 0.6283 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.992e-05/0.01293, allocations: 78.66 kB / 0.6284 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005045/0.01344, allocations: 152.5 kB / 0.6286 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.01376, allocations: 280.5 kB / 0.6288 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.01377, allocations: 21.38 kB / 0.6289 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.01382, allocations: 40.36 kB / 0.6289 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005796/0.0144, allocations: 0.6787 MB / 0.6296 GB, free: 1.762 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.01441, allocations: 192 / 0.6296 GB, free: 1.762 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.01444, allocations: 24.11 kB / 0.6296 GB, free: 1.738 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003086/0.01475, allocations: 32.64 kB / 0.6296 GB, free: 1.707 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003995/0.01515, allocations: 390.2 kB / 0.63 GB, free: 1.328 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.01654, allocations: 1.714 MB / 0.6317 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/0.01688, allocations: 252.8 kB / 0.6319 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.01699, allocations: 104.8 kB / 0.632 GB, free: 15.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.017, allocations: 0 / 0.632 GB, free: 15.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.01702, allocations: 34.56 kB / 0.632 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 9.42e-07/0.01702, allocations: 0 / 0.632 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.001242/0.01826, allocations: 0.9022 MB / 0.6329 GB, free: 14.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.01829, allocations: 55.41 kB / 0.633 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.01849, allocations: 308.4 kB / 0.6333 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.01851, allocations: 29.7 kB / 0.6333 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.885e-05/0.01861, allocations: 232.2 kB / 0.6335 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.01865, allocations: 91.19 kB / 0.6336 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-05/0.01871, allocations: 65.92 kB / 0.6337 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.428e-05/0.0188, allocations: 342.8 kB / 0.634 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.01891, allocations: 104.6 kB / 0.6341 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.01906, allocations: 196.7 kB / 0.6343 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.01933, allocations: 313.8 kB / 0.6346 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01933, allocations: 4 kB / 0.6346 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004496/0.01978, allocations: 442.1 kB / 0.635 GB, free: 11.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.01979, allocations: 8.062 kB / 0.635 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.0198, allocations: 4 kB / 0.635 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002035/0.02, allocations: 98.48 kB / 0.6351 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.02015, allocations: 59.91 kB / 0.6352 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.02235, allocations: 4.069 MB / 0.6391 GB, free: 7.328 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.02246, allocations: 8 kB / 0.6391 GB, free: 7.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.02248, allocations: 12 kB / 0.6392 GB, free: 7.309 MB / 0.6042 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.0001268/0.0226, allocations: 181.7 kB / 0.6393 GB, free: 7.121 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.02264, allocations: 35.94 kB / 0.6394 GB, free: 7.086 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.625e-05/0.02268, allocations: 46.33 kB / 0.6394 GB, free: 7.039 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.02268, allocations: 0 / 0.6394 GB, free: 7.039 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.02268, allocations: 4 kB / 0.6394 GB, free: 7.035 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.02268, allocations: 4.094 kB / 0.6394 GB, free: 7.031 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.02295, allocations: 336.6 kB / 0.6397 GB, free: 6.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.02296, allocations: 0 / 0.6397 GB, free: 6.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.565e-05/0.02305, allocations: 35.97 kB / 0.6398 GB, free: 6.625 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001568/0.02321, allocations: 94.44 kB / 0.6399 GB, free: 6.523 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.02322, allocations: 7.938 kB / 0.6399 GB, free: 6.516 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/0.0252, allocations: 4.061 MB / 0.6438 GB, free: 2.109 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.0252, allocations: 0 / 0.6438 GB, free: 2.109 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004895/0.02569, allocations: 0.5599 MB / 0.6444 GB, free: 1.523 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.745e-05/0.02576, allocations: 43.8 kB / 0.6444 GB, free: 1.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.02578, allocations: 7.984 kB / 0.6444 GB, free: 1.473 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.02588, allocations: 16.19 kB / 0.6444 GB, free: 1.457 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.02592, allocations: 15.91 kB / 0.6445 GB, free: 1.441 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.02593, allocations: 8.094 kB / 0.6445 GB, free: 1.434 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001345/0.02606, allocations: 215 kB / 0.6447 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.02606, allocations: 0 / 0.6447 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002861/0.02635, allocations: 100 kB / 0.6448 GB, free: 1.129 MB / 0.6042 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.0006837/0.02703, allocations: 1.1 MB / 0.6458 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005012/0.02753, allocations: 0.5863 MB / 0.6464 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.02754, allocations: 4 kB / 0.6464 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002524/0.02779, allocations: 471.8 kB / 0.6469 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.0281, allocations: 75.97 kB / 0.6469 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/0.03079, allocations: 3.345 MB / 0.6502 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.03119, allocations: 228.7 kB / 0.6504 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00012/0.03131, allocations: 58.92 kB / 0.6505 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.03141, allocations: 112.5 kB / 0.6506 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.03141, allocations: 0 / 0.6506 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.05617, allocations: 8.893 MB / 0.6593 GB, free: 2.238 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.256/7.312, allocations: 4 kB / 0.6593 GB, free: 2.234 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_RCModel.fmu > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.059462402015924] Failed to read output from testmodel.py, exit status != 0: 7.400670060887933 7.414316175 7.400175291 Calling exit ...