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.0008485/0.0008485, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001007/0.001007, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.9736/0.9736, allocations: 230.6 MB / 256 MB, free: 9.422 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.7854/0.7854, allocations: 203.5 MB / 0.5039 GB, free: 10.68 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: "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IDEAS_IDEAS_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IDEAS_IDEAS_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) [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.001059/0.001059, allocations: 70.27 kB / 0.7178 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5566/0.5577, allocations: 102 MB / 0.8174 GB, free: 1.215 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.004649/0.5623, allocations: 4.262 MB / 0.8215 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002718/0.565, allocations: 1.832 MB / 0.8233 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002435/0.5653, allocations: 16.25 kB / 0.8233 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.5665, allocations: 0.586 MB / 0.8239 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006276/0.5671, allocations: 270.6 kB / 0.8242 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009152/0.568, allocations: 256.1 kB / 0.8244 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000696/0.5687, allocations: 0.6143 MB / 0.825 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006114/0.5693, allocations: 344.5 kB / 0.8253 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002807/0.5696, allocations: 253 kB / 0.8256 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004426/0.5701, allocations: 263.8 kB / 0.8258 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.843e-05/0.5701, allocations: 39.19 kB / 0.8259 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004071/0.5705, allocations: 235.8 kB / 0.8261 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.5707, allocations: 148.4 kB / 0.8262 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.5708, allocations: 187.6 kB / 0.8264 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000685/0.5715, allocations: 0.6136 MB / 0.827 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.5715, allocations: 0 / 0.827 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.284e-06/0.5715, allocations: 0.75 kB / 0.827 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.5715, allocations: 0 / 0.827 GB, free: 11.59 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001072/0.5726, allocations: 0.6664 MB / 0.8277 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.5727, allocations: 9.219 kB / 0.8277 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.287e-05/0.5727, allocations: 73.78 kB / 0.8277 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005812/0.5733, allocations: 146.5 kB / 0.8279 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.5737, allocations: 282.5 kB / 0.8281 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.5737, allocations: 27.58 kB / 0.8282 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.5738, allocations: 34 kB / 0.8282 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007404/0.5745, allocations: 0.6857 MB / 0.8289 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.5745, allocations: 0 / 0.8289 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.5746, allocations: 16.66 kB / 0.8289 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.7e-05/0.5746, allocations: 37.77 kB / 0.8289 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005221/0.5751, allocations: 389 kB / 0.8293 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.5772, allocations: 1.739 MB / 0.831 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.5776, allocations: 241.7 kB / 0.8312 GB, free: 8.738 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.5778, allocations: 103.5 kB / 0.8313 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.5778, allocations: 2.438 kB / 0.8313 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.5778, allocations: 37.2 kB / 0.8314 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 2.104e-06/0.5778, allocations: 0.9375 kB / 0.8314 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001717/0.5795, allocations: 0.9064 MB / 0.8322 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.5796, allocations: 54.59 kB / 0.8323 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.5799, allocations: 311.7 kB / 0.8326 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.5799, allocations: 30.73 kB / 0.8326 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.58, allocations: 232.3 kB / 0.8328 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.765e-05/0.5801, allocations: 85.42 kB / 0.8329 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.653e-05/0.5801, allocations: 62.36 kB / 0.833 GB, free: 7.602 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.6e-05/0.5802, allocations: 342.9 kB / 0.8333 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.5804, allocations: 100.1 kB / 0.8334 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.5805, allocations: 202 kB / 0.8336 GB, free: 7.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.5809, allocations: 309.6 kB / 0.8339 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5809, allocations: 4.562 kB / 0.8339 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005474/0.5814, allocations: 441.9 kB / 0.8343 GB, free: 6.688 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.5814, allocations: 11 kB / 0.8343 GB, free: 6.684 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.5814, allocations: 6.688 kB / 0.8343 GB, free: 6.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002445/0.5817, allocations: 99.66 kB / 0.8344 GB, free: 6.637 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.5819, allocations: 66.14 kB / 0.8345 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002589/0.5844, allocations: 4.067 MB / 0.8385 GB, free: 2.699 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.5846, allocations: 16.53 kB / 0.8385 GB, free: 2.688 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.5847, allocations: 10.72 kB / 0.8385 GB, free: 2.688 MB / 0.6198 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.0002063/0.5849, allocations: 176.4 kB / 0.8387 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/0.5849, allocations: 39.25 kB / 0.8387 GB, free: 2.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.254e-05/0.5849, allocations: 42.72 kB / 0.8387 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.5849, allocations: 3.188 kB / 0.8387 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.585, allocations: 1.188 kB / 0.8387 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.585, allocations: 1.453 kB / 0.8388 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003632/0.5853, allocations: 341 kB / 0.8391 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.5853, allocations: 4.594 kB / 0.8391 GB, free: 2.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.5854, allocations: 32.97 kB / 0.8391 GB, free: 2.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001943/0.5856, allocations: 91.53 kB / 0.8392 GB, free: 2.211 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.5857, allocations: 5.859 kB / 0.8392 GB, free: 2.207 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/0.5877, allocations: 4.064 MB / 0.8432 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5877, allocations: 4.594 kB / 0.8432 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006157/0.5883, allocations: 0.5549 MB / 0.8437 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.5884, allocations: 50.94 kB / 0.8438 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.5885, allocations: 5.859 kB / 0.8438 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.5886, allocations: 12.25 kB / 0.8438 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.5886, allocations: 20.55 kB / 0.8438 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.5886, allocations: 8.531 kB / 0.8438 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002033/0.5888, allocations: 212.4 kB / 0.844 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.01e-07/0.5888, allocations: 0 / 0.844 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004327/0.5893, allocations: 100.1 kB / 0.8441 GB, free: 13.79 MB / 0.6355 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.001096/0.5904, allocations: 1.097 MB / 0.8452 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000722/0.5911, allocations: 0.582 MB / 0.8458 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5911, allocations: 0.75 kB / 0.8458 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003303/0.5914, allocations: 466.2 kB / 0.8462 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.5918, allocations: 77.02 kB / 0.8463 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003948/0.5958, allocations: 3.384 MB / 0.8496 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.5961, allocations: 236.1 kB / 0.8498 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002347/0.5963, allocations: 60.98 kB / 0.8499 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.5965, allocations: 111.6 kB / 0.85 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of SimCode: time 1.973e-06/0.5965, allocations: 0 / 0.85 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03357/0.63, allocations: 8.748 MB / 0.8585 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.134/7.764, allocations: 7.438 kB / 0.8585 GB, free: 5.102 MB / 0.6355 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IDEAS_IDEAS_Electrical_DC_Lines_Examples_RCModel.fmu > IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.79561918694526] Failed to read output from testmodel.py, exit status != 0: 7.850945140235126 7.867642175 7.293126311 Calling exit ...