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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 113.4 kB / 16.41 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001433, allocations: 191.7 kB / 19.35 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.069/1.069, allocations: 173.4 MB / 470.6 MB, free: 13.63 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001904/0.001904, allocations: 67.89 kB / 0.6477 GB, free: 11.8 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1846, allocations: 89.52 MB / 0.7352 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.006624/0.1913, allocations: 4.35 MB / 0.7394 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003276/0.1946, allocations: 1.866 MB / 0.7412 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000246/0.1949, allocations: 11.94 kB / 0.7412 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.1967, allocations: 0.5992 MB / 0.7418 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007006/0.1974, allocations: 254.6 kB / 0.7421 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007608/0.1981, allocations: 255.4 kB / 0.7423 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008032/0.1989, allocations: 0.615 MB / 0.7429 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000755/0.1997, allocations: 458.8 kB / 0.7434 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002928/0.2, allocations: 247.2 kB / 0.7436 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004499/0.2005, allocations: 263 kB / 0.7438 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.558e-05/0.2005, allocations: 40 kB / 0.7439 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000462/0.201, allocations: 251.4 kB / 0.7441 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.2012, allocations: 151.6 kB / 0.7443 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002348/0.2014, allocations: 218.9 kB / 0.7445 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007388/0.2022, allocations: 0.611 MB / 0.7451 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2022, allocations: 4 kB / 0.7451 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.566e-06/0.2022, allocations: 0 / 0.7451 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.2022, allocations: 3.938 kB / 0.7451 GB, free: 8.09 MB / 0.5762 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.001362/0.2036, allocations: 0.7363 MB / 0.7458 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.2036, allocations: 12.03 kB / 0.7458 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.2037, allocations: 78.7 kB / 0.7459 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009652/0.2047, allocations: 144.5 kB / 0.746 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000472/0.2052, allocations: 346.6 kB / 0.7464 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.2052, allocations: 21.38 kB / 0.7464 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.864e-05/0.2053, allocations: 36.38 kB / 0.7464 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008237/0.2061, allocations: 0.5354 MB / 0.7469 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.2062, allocations: 0 / 0.7469 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.385e-05/0.2062, allocations: 16 kB / 0.7469 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.228e-05/0.2063, allocations: 32.64 kB / 0.747 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006397/0.2069, allocations: 386.3 kB / 0.7473 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002725/0.2096, allocations: 2.404 MB / 0.7497 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005519/0.2102, allocations: 262.5 kB / 0.7499 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.2104, allocations: 118.8 kB / 0.7501 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.2104, allocations: 0 / 0.7501 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.2105, allocations: 38.56 kB / 0.7501 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 1.152e-06/0.2105, allocations: 3.938 kB / 0.7501 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.002488/0.213, allocations: 1.129 MB / 0.7512 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.673e-05/0.2131, allocations: 59.41 kB / 0.7513 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004265/0.2135, allocations: 308.4 kB / 0.7516 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.2135, allocations: 25.7 kB / 0.7516 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.2137, allocations: 236.1 kB / 0.7518 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.932e-05/0.2138, allocations: 79.34 kB / 0.7519 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.214, allocations: 69.97 kB / 0.7519 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.2142, allocations: 338.8 kB / 0.7523 GB, free: 212 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.2144, allocations: 96.61 kB / 0.7524 GB, free: 116 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3611/0.5755, allocations: 190.5 kB / 0.7525 GB, free: 18.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004903/0.576, allocations: 323 kB / 0.7528 GB, free: 18.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.576, allocations: 1.156 kB / 0.7528 GB, free: 18.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009137/0.577, allocations: 442.8 kB / 0.7533 GB, free: 18.28 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.577, allocations: 7.719 kB / 0.7533 GB, free: 18.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.577, allocations: 3.469 kB / 0.7533 GB, free: 18.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004212/0.5774, allocations: 100.1 kB / 0.7534 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.5777, allocations: 59.41 kB / 0.7534 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/0.5801, allocations: 4.405 MB / 0.7577 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.5804, allocations: 9.547 kB / 0.7577 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.5804, allocations: 9.906 kB / 0.7578 GB, free: 14.24 MB / 0.5762 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.0001917/0.5806, allocations: 187.6 kB / 0.7579 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/0.5807, allocations: 31.97 kB / 0.758 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.909e-05/0.5808, allocations: 48.03 kB / 0.758 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.5808, allocations: 2.531 kB / 0.758 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.5808, allocations: 1.969 kB / 0.758 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.5808, allocations: 0 / 0.758 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.5812, allocations: 396 kB / 0.7584 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.5812, allocations: 3.094 kB / 0.7584 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.5814, allocations: 35.75 kB / 0.7584 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002813/0.5817, allocations: 95.86 kB / 0.7585 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.5817, allocations: 5.125 kB / 0.7585 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.5838, allocations: 4.391 MB / 0.7628 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.5838, allocations: 2.844 kB / 0.7628 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007299/0.5846, allocations: 0.5612 MB / 0.7634 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.5847, allocations: 127 kB / 0.7635 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.5847, allocations: 6.344 kB / 0.7635 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.5849, allocations: 10.05 kB / 0.7635 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.585, allocations: 20.11 kB / 0.7635 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.585, allocations: 8.219 kB / 0.7635 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001954/0.5852, allocations: 208.9 kB / 0.7637 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5852, allocations: 0 / 0.7637 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00047/0.5857, allocations: 97.97 kB / 0.7638 GB, free: 9.512 MB / 0.5762 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.0008918/0.5866, allocations: 1.104 MB / 0.7649 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007665/0.5873, allocations: 0.6142 MB / 0.7655 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5874, allocations: 0 / 0.7655 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004092/0.5878, allocations: 472.4 kB / 0.7659 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.5883, allocations: 79.06 kB / 0.766 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/0.5918, allocations: 3.366 MB / 0.7693 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.5921, allocations: 0.8371 MB / 0.7701 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001876/0.5923, allocations: 62.38 kB / 0.7702 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.5924, allocations: 108.7 kB / 0.7703 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.5925, allocations: 0 / 0.7703 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.042/0.6345, allocations: 7.781 MB / 0.7779 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.949/10.58, allocations: 10.5 kB / 0.7779 GB, free: 4.938 MB / 0.5762 GB " [Timeout remaining time 649] (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: 14.434008514042944] Failed to read output from testmodel.py, exit status != 0: 10.670197486993857 10.689048714 10.483336206 Calling exit ...