Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.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.001331/0.001331, allocations: 111.3 kB / 17.6 MB, free: 4.668 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.001307/0.001307, allocations: 190.8 kB / 20.78 MB, free: 1.5 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.459/1.459, allocations: 225.6 MB / 249.4 MB, free: 3.285 MB / 190.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.083/1.083, allocations: 175.7 MB / 480.2 MB, free: 3.195 MB / 366.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.Resistance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 74.8 kB / 0.6679 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1812, allocations: 94.52 MB / 0.7602 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.005173/0.1864, allocations: 3.173 MB / 0.7633 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00239/0.1888, allocations: 1.371 MB / 0.7646 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.189, allocations: 11.94 kB / 0.7646 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.19, allocations: 342.7 kB / 0.765 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004036/0.1905, allocations: 143.3 kB / 0.7651 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.1909, allocations: 139.6 kB / 0.7652 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004157/0.1913, allocations: 303 kB / 0.7655 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003683/0.1916, allocations: 168.3 kB / 0.7657 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.1918, allocations: 131.5 kB / 0.7658 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003301/0.1922, allocations: 147.5 kB / 0.7659 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.706e-05/0.1922, allocations: 16 kB / 0.766 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003184/0.1925, allocations: 163.6 kB / 0.7661 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.845e-05/0.1926, allocations: 79.8 kB / 0.7662 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.1928, allocations: 119.4 kB / 0.7663 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005141/0.1933, allocations: 342.8 kB / 0.7666 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1933, allocations: 4 kB / 0.7666 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1933, allocations: 0 / 0.7666 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.1933, allocations: 0 / 0.7666 GB, free: 10.22 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009298/0.1942, allocations: 0.522 MB / 0.7671 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1943, allocations: 12.03 kB / 0.7672 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.645e-05/0.1943, allocations: 50.73 kB / 0.7672 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005753/0.1949, allocations: 80.72 kB / 0.7673 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.1952, allocations: 249.6 kB / 0.7675 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.1953, allocations: 12.75 kB / 0.7675 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.1953, allocations: 16.38 kB / 0.7675 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004497/0.1957, allocations: 307.3 kB / 0.7678 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1958, allocations: 0 / 0.7678 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.1958, allocations: 4 kB / 0.7678 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.913e-05/0.1958, allocations: 24.36 kB / 0.7679 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003285/0.1961, allocations: 196.9 kB / 0.7681 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.1978, allocations: 1.456 MB / 0.7695 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.198, allocations: 179.7 kB / 0.7696 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.011e-05/0.1981, allocations: 28.84 kB / 0.7697 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.1981, allocations: 0 / 0.7697 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.1981, allocations: 34.56 kB / 0.7697 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.1981, allocations: 0 / 0.7697 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0005269/0.1987, allocations: 227.5 kB / 0.7699 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.1987, allocations: 51.41 kB / 0.77 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.1989, allocations: 202.8 kB / 0.7702 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.1989, allocations: 25.7 kB / 0.7702 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.1991, allocations: 171.9 kB / 0.7704 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.1991, allocations: 23.95 kB / 0.7704 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.305e-05/0.1992, allocations: 37.66 kB / 0.7704 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1993, allocations: 330.8 kB / 0.7707 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.629e-05/0.1994, allocations: 43.83 kB / 0.7708 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.1995, allocations: 102.2 kB / 0.7709 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.1997, allocations: 152.4 kB / 0.771 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1997, allocations: 4 kB / 0.771 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003774/0.2001, allocations: 190.2 kB / 0.7712 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.2001, allocations: 4 kB / 0.7712 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.2001, allocations: 8 kB / 0.7712 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001579/0.2003, allocations: 25.12 kB / 0.7712 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.2004, allocations: 31.92 kB / 0.7713 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.2017, allocations: 1.419 MB / 0.7726 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.2018, allocations: 15.89 kB / 0.7727 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.2018, allocations: 8 kB / 0.7727 GB, free: 3.426 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.202, allocations: 149.7 kB / 0.7728 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.202, allocations: 15.94 kB / 0.7728 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.202, allocations: 17.39 kB / 0.7728 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.202, allocations: 8.062 kB / 0.7729 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.202, allocations: 0 / 0.7729 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2021, allocations: 0 / 0.7729 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/0.2026, allocations: 447.1 kB / 0.7733 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2026, allocations: 0 / 0.7733 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.572e-05/0.2026, allocations: 8 kB / 0.7733 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.284e-05/0.2027, allocations: 24.84 kB / 0.7733 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.2027, allocations: 4 kB / 0.7733 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.2038, allocations: 1.418 MB / 0.7747 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2038, allocations: 0 / 0.7747 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.2041, allocations: 212.2 kB / 0.7749 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.001e-05/0.2042, allocations: 101 kB / 0.775 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.2042, allocations: 0 / 0.775 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.2043, allocations: 4 kB / 0.775 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.2043, allocations: 16.05 kB / 0.775 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.2043, allocations: 0 / 0.775 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001635/0.2045, allocations: 144.4 kB / 0.7752 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2045, allocations: 0 / 0.7752 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003344/0.2048, allocations: 55.83 kB / 0.7752 GB, free: 0.582 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006034/0.2054, allocations: 0.7445 MB / 0.7759 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003971/0.2058, allocations: 199 kB / 0.7761 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2058, allocations: 0 / 0.7761 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.206, allocations: 159.2 kB / 0.7763 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.2064, allocations: 43.5 kB / 0.7763 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.2089, allocations: 2.046 MB / 0.7783 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.2093, allocations: 0.7514 MB / 0.7791 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.718e-05/0.2094, allocations: 21.53 kB / 0.7791 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.69e-05/0.2095, allocations: 63.34 kB / 0.7791 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.2095, allocations: 0 / 0.7791 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03179/0.2413, allocations: 3.72 MB / 0.7828 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.718/9.96, allocations: 4.922 kB / 0.7828 GB, free: 8.746 MB / 0.5919 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_Resistance.fmu > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.857239594013663] Failed to read output from testmodel.py, exit status != 0: 10.042240882001352 10.059247473 9.862656057 Calling exit ...