Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.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.001375/0.001375, allocations: 108.3 kB / 17.54 MB, free: 4.781 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.001415/0.001415, allocations: 190.6 kB / 20.71 MB, free: 1.625 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.296/1.296, allocations: 225.6 MB / 249.3 MB, free: 3.324 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.9684/0.9684, allocations: 175.7 MB / 480.1 MB, free: 3.215 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.Loads.Examples.Resistor,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 66.27 kB / 0.6677 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1536, allocations: 94.52 MB / 0.76 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.005588/0.1592, allocations: 3.968 MB / 0.7639 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002753/0.162, allocations: 1.792 MB / 0.7657 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.1622, allocations: 11.94 kB / 0.7657 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.1635, allocations: 0.4981 MB / 0.7662 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004921/0.164, allocations: 226.9 kB / 0.7664 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.1645, allocations: 215 kB / 0.7666 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005346/0.165, allocations: 478.4 kB / 0.767 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004492/0.1655, allocations: 257.2 kB / 0.7673 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002437/0.1657, allocations: 195.3 kB / 0.7675 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003992/0.1661, allocations: 231.2 kB / 0.7677 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.745e-05/0.1662, allocations: 28 kB / 0.7677 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004015/0.1666, allocations: 251.4 kB / 0.768 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.1667, allocations: 135.6 kB / 0.7681 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.1669, allocations: 171.1 kB / 0.7683 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006081/0.1675, allocations: 0.502 MB / 0.7687 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.1675, allocations: 4 kB / 0.7687 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1675, allocations: 3.938 kB / 0.7687 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.389e-05/0.1675, allocations: 4 kB / 0.7688 GB, free: 7.922 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0009622/0.1685, allocations: 0.6349 MB / 0.7694 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1685, allocations: 8.031 kB / 0.7694 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.964e-05/0.1686, allocations: 70.72 kB / 0.7694 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008561/0.1695, allocations: 140.5 kB / 0.7696 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.1698, allocations: 299.8 kB / 0.7699 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.1699, allocations: 17.03 kB / 0.7699 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.652e-05/0.1699, allocations: 36.34 kB / 0.7699 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000638/0.1705, allocations: 459.8 kB / 0.7704 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1706, allocations: 0 / 0.7704 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.633e-05/0.1706, allocations: 15.98 kB / 0.7704 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-05/0.1706, allocations: 32.53 kB / 0.7704 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004854/0.1711, allocations: 321.9 kB / 0.7707 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/0.1733, allocations: 2.181 MB / 0.7728 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/0.1736, allocations: 231.8 kB / 0.7731 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.1738, allocations: 108.7 kB / 0.7732 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.1739, allocations: 0 / 0.7732 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.1739, allocations: 42.56 kB / 0.7732 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 9.82e-07/0.1739, allocations: 96 / 0.7732 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0005742/0.1745, allocations: 295.6 kB / 0.7735 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.1745, allocations: 55.41 kB / 0.7735 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.1748, allocations: 274.5 kB / 0.7738 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.1748, allocations: 29.7 kB / 0.7738 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.175, allocations: 208.2 kB / 0.774 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/0.175, allocations: 59.58 kB / 0.7741 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.568e-05/0.1751, allocations: 53.91 kB / 0.7741 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1752, allocations: 334.8 kB / 0.7745 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.562e-05/0.1753, allocations: 52.44 kB / 0.7745 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.1755, allocations: 145 kB / 0.7746 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.1758, allocations: 216.9 kB / 0.7749 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1758, allocations: 0 / 0.7749 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000426/0.1762, allocations: 270 kB / 0.7751 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.1762, allocations: 8 kB / 0.7751 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1762, allocations: 4 kB / 0.7751 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001835/0.1764, allocations: 29.22 kB / 0.7751 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.1766, allocations: 51.98 kB / 0.7752 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/0.1778, allocations: 1.427 MB / 0.7766 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.1779, allocations: 27.78 kB / 0.7766 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.178, allocations: 8 kB / 0.7766 GB, free: 15.17 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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.0001635/0.1781, allocations: 170.8 kB / 0.7768 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.997e-05/0.1782, allocations: 23.86 kB / 0.7768 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.529e-05/0.1782, allocations: 37.92 kB / 0.7768 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1782, allocations: 0 / 0.7768 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1782, allocations: 0 / 0.7768 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1782, allocations: 4 kB / 0.7769 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008945/0.1791, allocations: 0.6947 MB / 0.7775 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1791, allocations: 7.938 kB / 0.7775 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.052e-05/0.1792, allocations: 19.98 kB / 0.7776 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.294e-05/0.1793, allocations: 28.78 kB / 0.7776 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1793, allocations: 4 kB / 0.7776 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.1804, allocations: 1.414 MB / 0.779 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1804, allocations: 3.938 kB / 0.779 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.1808, allocations: 317.4 kB / 0.7793 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.1809, allocations: 117 kB / 0.7794 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.1809, allocations: 15.94 kB / 0.7794 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.181, allocations: 11.98 kB / 0.7794 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.1811, allocations: 19.86 kB / 0.7794 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.1811, allocations: 8 kB / 0.7794 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001938/0.1813, allocations: 190 kB / 0.7796 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1813, allocations: 0 / 0.7796 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003712/0.1817, allocations: 83.84 kB / 0.7797 GB, free: 11.72 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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.0006519/0.1823, allocations: 0.8451 MB / 0.7805 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004393/0.1827, allocations: 267 kB / 0.7808 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1828, allocations: 4.062 kB / 0.7808 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.183, allocations: 174.6 kB / 0.781 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.1834, allocations: 52.52 kB / 0.781 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.1864, allocations: 2.74 MB / 0.7837 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.1869, allocations: 0.7987 MB / 0.7845 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001245/0.187, allocations: 42.27 kB / 0.7845 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.1871, allocations: 83.41 kB / 0.7846 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.1871, allocations: 192 / 0.7846 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03042/0.2175, allocations: 5.406 MB / 0.7899 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.08/9.297, allocations: 10.11 kB / 0.7899 GB, free: 1.16 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor_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_Loads_Examples_Resistor.fmu > IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.781641663998016]