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.001141/0.001141, allocations: 109 kB / 17.54 MB, free: 4.746 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.001141/0.001141, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.269/1.269, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] 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 0.9862/0.9862, allocations: 175.7 MB / 480.1 MB, free: 2.758 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.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.001746/0.001746, allocations: 74.78 kB / 0.6677 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1573, allocations: 94.52 MB / 0.76 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.006559/0.1638, allocations: 4.516 MB / 0.7645 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003078/0.1669, allocations: 1.901 MB / 0.7663 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002445/0.1671, allocations: 15.88 kB / 0.7663 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00163/0.1688, allocations: 0.6223 MB / 0.7669 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005884/0.1694, allocations: 258.6 kB / 0.7672 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006196/0.17, allocations: 259.4 kB / 0.7674 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007351/0.1707, allocations: 0.615 MB / 0.768 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005448/0.1713, allocations: 314.9 kB / 0.7683 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003306/0.1716, allocations: 255.1 kB / 0.7686 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004949/0.1721, allocations: 275 kB / 0.7688 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.1721, allocations: 40 kB / 0.7689 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004228/0.1726, allocations: 267.4 kB / 0.7691 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.1727, allocations: 151.5 kB / 0.7693 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.1729, allocations: 218.9 kB / 0.7695 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007234/0.1737, allocations: 0.6149 MB / 0.7701 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1737, allocations: 3.938 kB / 0.7701 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.91e-07/0.1737, allocations: 0 / 0.7701 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.1737, allocations: 0 / 0.7701 GB, free: 6.48 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.001241/0.1749, allocations: 0.7324 MB / 0.7708 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.175, allocations: 12.03 kB / 0.7708 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.216e-05/0.175, allocations: 70.72 kB / 0.7709 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000944/0.176, allocations: 156.5 kB / 0.771 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004854/0.1765, allocations: 342.6 kB / 0.7714 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.1765, allocations: 25.36 kB / 0.7714 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.152e-05/0.1766, allocations: 32.38 kB / 0.7714 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007728/0.1773, allocations: 0.5354 MB / 0.7719 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1773, allocations: 0 / 0.7719 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-05/0.1774, allocations: 19.98 kB / 0.772 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.536e-05/0.1775, allocations: 32.64 kB / 0.772 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005941/0.178, allocations: 390.3 kB / 0.7724 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002616/0.1807, allocations: 2.4 MB / 0.7747 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005021/0.1812, allocations: 242.5 kB / 0.7749 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.1813, allocations: 98.02 kB / 0.775 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.1813, allocations: 4 kB / 0.775 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.1814, allocations: 34.56 kB / 0.7751 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/0.1814, allocations: 0 / 0.7751 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.002167/0.1835, allocations: 1.129 MB / 0.7762 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.1836, allocations: 59.41 kB / 0.7762 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.1839, allocations: 308.4 kB / 0.7765 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.1839, allocations: 29.7 kB / 0.7765 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.1841, allocations: 232.1 kB / 0.7768 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.097e-05/0.1842, allocations: 87.27 kB / 0.7768 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.1843, allocations: 65.98 kB / 0.7769 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1844, allocations: 338.8 kB / 0.7772 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.1846, allocations: 100.6 kB / 0.7773 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.1848, allocations: 199.7 kB / 0.7775 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004296/0.1853, allocations: 316.4 kB / 0.7778 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1853, allocations: 0 / 0.7778 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007516/0.186, allocations: 438 kB / 0.7782 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.186, allocations: 4 kB / 0.7782 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.186, allocations: 15.97 kB / 0.7783 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003546/0.1864, allocations: 102.6 kB / 0.7784 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.1867, allocations: 59.91 kB / 0.7784 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00356/0.1902, allocations: 4.393 MB / 0.7827 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.1904, allocations: 12 kB / 0.7827 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.1904, allocations: 12 kB / 0.7827 GB, free: 8.492 MB / 0.5919 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.0001923/0.1906, allocations: 185.6 kB / 0.7829 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.235e-05/0.1907, allocations: 35.84 kB / 0.7829 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.642e-05/0.1908, allocations: 46.31 kB / 0.783 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1908, allocations: 0 / 0.783 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1908, allocations: 4 kB / 0.783 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1908, allocations: 4 kB / 0.783 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004606/0.1913, allocations: 401.2 kB / 0.7834 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1913, allocations: 3.938 kB / 0.7834 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.1915, allocations: 39.97 kB / 0.7834 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002911/0.1917, allocations: 90.5 kB / 0.7835 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.1918, allocations: 7.938 kB / 0.7835 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003413/0.1952, allocations: 4.391 MB / 0.7878 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1952, allocations: 3.938 kB / 0.7878 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008127/0.196, allocations: 0.5594 MB / 0.7883 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.1961, allocations: 124.9 kB / 0.7885 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.1962, allocations: 4 kB / 0.7885 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.1964, allocations: 12 kB / 0.7885 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.1964, allocations: 23.97 kB / 0.7885 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.1964, allocations: 8 kB / 0.7885 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002191/0.1966, allocations: 215 kB / 0.7887 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1966, allocations: 0 / 0.7887 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004104/0.197, allocations: 96 kB / 0.7888 GB, free: 1.734 MB / 0.5919 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.001099/0.1981, allocations: 1.093 MB / 0.7899 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008497/0.199, allocations: 0.5933 MB / 0.7905 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.199, allocations: 0 / 0.7905 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005192/0.1995, allocations: 468.1 kB / 0.7909 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.2, allocations: 75.91 kB / 0.791 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/0.2042, allocations: 3.369 MB / 0.7943 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.2046, allocations: 0.8388 MB / 0.7951 GB, free: 11 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001672/0.2048, allocations: 54.92 kB / 0.7951 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.205, allocations: 107.4 kB / 0.7952 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.205, allocations: 4 kB / 0.7952 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04071/0.2457, allocations: 7.852 MB / 0.8029 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.19/9.435, allocations: 11.75 kB / 0.8029 GB, free: 3.137 MB / 0.6075 GB " [Timeout remaining time 650] (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: 12.885352992001572]