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.0008042/0.0008042, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001006/0.001006, allocations: 208.1 kB / 22.25 MB, free: 3.574 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.9475/0.9475, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.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.7795/0.7795, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [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: 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.001357/0.001357, allocations: 74.31 kB / 0.7182 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5131/0.5145, allocations: 102 MB / 0.8178 GB, free: 1.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.005149/0.5196, allocations: 4.273 MB / 0.8219 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003072/0.5227, allocations: 1.816 MB / 0.8237 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/0.5229, allocations: 17.19 kB / 0.8237 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.5242, allocations: 0.6019 MB / 0.8243 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000715/0.5249, allocations: 267.3 kB / 0.8246 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006146/0.5255, allocations: 254.1 kB / 0.8248 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007621/0.5263, allocations: 0.6136 MB / 0.8254 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006244/0.5269, allocations: 335.2 kB / 0.8257 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003937/0.5273, allocations: 260.5 kB / 0.826 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005156/0.5278, allocations: 268.4 kB / 0.8262 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.593e-05/0.5279, allocations: 38.09 kB / 0.8263 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003936/0.5283, allocations: 228.9 kB / 0.8265 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.5285, allocations: 149.6 kB / 0.8266 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.5287, allocations: 187.4 kB / 0.8268 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008786/0.5295, allocations: 0.6127 MB / 0.8274 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5295, allocations: 0 / 0.8274 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5295, allocations: 1.5 kB / 0.8274 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.697e-05/0.5296, allocations: 3.938 kB / 0.8274 GB, free: 11.43 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.001461/0.531, allocations: 0.6623 MB / 0.8281 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.5311, allocations: 9.359 kB / 0.8281 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.667e-05/0.5312, allocations: 77.78 kB / 0.8282 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007181/0.5319, allocations: 154.5 kB / 0.8283 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005908/0.5325, allocations: 274.5 kB / 0.8286 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.107e-05/0.5325, allocations: 31.94 kB / 0.8286 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-05/0.5326, allocations: 29.5 kB / 0.8286 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.5337, allocations: 0.6936 MB / 0.8293 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.5337, allocations: 0 / 0.8293 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.34e-05/0.5337, allocations: 16.75 kB / 0.8293 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.45e-05/0.5338, allocations: 30.06 kB / 0.8293 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009296/0.5347, allocations: 388.3 kB / 0.8297 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002876/0.5376, allocations: 1.739 MB / 0.8314 GB, free: 8.684 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005517/0.5382, allocations: 241 kB / 0.8316 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.5383, allocations: 97.52 kB / 0.8317 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.5383, allocations: 2.281 kB / 0.8317 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.5383, allocations: 45.39 kB / 0.8318 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 2.736e-06/0.5383, allocations: 4 kB / 0.8318 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001602/0.5399, allocations: 0.8949 MB / 0.8327 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.54, allocations: 55.78 kB / 0.8327 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.5402, allocations: 314.6 kB / 0.833 GB, free: 7.777 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.5403, allocations: 30.98 kB / 0.833 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.5404, allocations: 232.8 kB / 0.8333 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.871e-05/0.5404, allocations: 89.14 kB / 0.8333 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.973e-05/0.5405, allocations: 65.7 kB / 0.8334 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.938e-05/0.5406, allocations: 338.9 kB / 0.8337 GB, free: 7.109 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.5407, allocations: 104.8 kB / 0.8338 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.5409, allocations: 190.2 kB / 0.834 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.5412, allocations: 320.5 kB / 0.8343 GB, free: 6.727 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5412, allocations: 1.281 kB / 0.8343 GB, free: 6.727 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005312/0.5418, allocations: 440.5 kB / 0.8347 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.5418, allocations: 6.781 kB / 0.8347 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.5418, allocations: 3.125 kB / 0.8348 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002525/0.5421, allocations: 93.41 kB / 0.8348 GB, free: 6.488 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.5422, allocations: 68.95 kB / 0.8349 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.5444, allocations: 4.066 MB / 0.8389 GB, free: 2.547 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.5446, allocations: 13.69 kB / 0.8389 GB, free: 2.539 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.5446, allocations: 14.03 kB / 0.8389 GB, free: 2.535 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.0001515/0.5447, allocations: 176.6 kB / 0.8391 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.5448, allocations: 40.33 kB / 0.8391 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.5448, allocations: 41.25 kB / 0.8391 GB, free: 2.332 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.5448, allocations: 7.344 kB / 0.8392 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.5448, allocations: 1.219 kB / 0.8392 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.5448, allocations: 1.594 kB / 0.8392 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/0.5452, allocations: 341.3 kB / 0.8395 GB, free: 2.098 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.5452, allocations: 3.938 kB / 0.8395 GB, free: 2.094 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.5453, allocations: 36.73 kB / 0.8395 GB, free: 2.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002019/0.5455, allocations: 96.08 kB / 0.8396 GB, free: 2.047 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.5455, allocations: 6.344 kB / 0.8396 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/0.5477, allocations: 4.055 MB / 0.8436 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.5477, allocations: 3.938 kB / 0.8436 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005944/0.5483, allocations: 0.5524 MB / 0.8441 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.116e-05/0.5483, allocations: 51.84 kB / 0.8442 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.5484, allocations: 9.312 kB / 0.8442 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.5485, allocations: 11.86 kB / 0.8442 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.5485, allocations: 20.09 kB / 0.8442 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.5485, allocations: 5.453 kB / 0.8442 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001721/0.5487, allocations: 213.6 kB / 0.8444 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.5487, allocations: 0 / 0.8444 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003601/0.5491, allocations: 98.31 kB / 0.8445 GB, free: 13.63 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.0007925/0.5499, allocations: 1.1 MB / 0.8456 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006258/0.5505, allocations: 0.587 MB / 0.8462 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5505, allocations: 0 / 0.8462 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002974/0.5508, allocations: 464.7 kB / 0.8466 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.5511, allocations: 84.77 kB / 0.8467 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.5544, allocations: 3.389 MB / 0.85 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.5546, allocations: 225.8 kB / 0.8502 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001712/0.5548, allocations: 62.33 kB / 0.8503 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.5549, allocations: 111.3 kB / 0.8504 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of SimCode: time 7.72e-07/0.5549, allocations: 0 / 0.8504 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03092/0.5858, allocations: 8.745 MB / 0.8589 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.984/7.57, allocations: 6.641 kB / 0.8589 GB, free: 4.867 MB / 0.6355 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_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.552407412789762] Failed to read output from testmodel.py, exit status != 0: 7.654242067132145 7.667048825 7.135460304 Calling exit ...