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.0014/0.0014, 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.001409/0.001409, 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.286/1.286, allocations: 225.6 MB / 249.3 MB, free: 3.328 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.9713/0.9713, allocations: 175.7 MB / 480.1 MB, free: 2.836 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.001794/0.001794, allocations: 72.17 kB / 0.6677 GB, free: 11.04 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1548, allocations: 94.53 MB / 0.76 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.005375/0.1602, allocations: 3.96 MB / 0.7639 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002703/0.1629, allocations: 1.792 MB / 0.7657 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.163, allocations: 11.94 kB / 0.7657 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.1643, allocations: 0.4997 MB / 0.7662 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004856/0.1648, allocations: 222.9 kB / 0.7664 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004795/0.1653, allocations: 218.8 kB / 0.7666 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005093/0.1658, allocations: 478.4 kB / 0.767 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004457/0.1662, allocations: 253.2 kB / 0.7673 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.1664, allocations: 199.4 kB / 0.7675 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003757/0.1668, allocations: 231.1 kB / 0.7677 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.566e-05/0.1669, allocations: 28 kB / 0.7677 GB, free: 9 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003917/0.1673, allocations: 247.5 kB / 0.768 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.1674, allocations: 135.6 kB / 0.7681 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.1676, allocations: 179.1 kB / 0.7683 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005753/0.1681, allocations: 0.4981 MB / 0.7687 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1682, allocations: 0 / 0.7687 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1682, allocations: 3.938 kB / 0.7687 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.1682, allocations: 0 / 0.7687 GB, free: 7.945 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.0009563/0.1691, allocations: 0.6388 MB / 0.7694 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.1691, allocations: 12.03 kB / 0.7694 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.245e-05/0.1692, allocations: 70.72 kB / 0.7694 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008368/0.1701, allocations: 136.6 kB / 0.7696 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.1704, allocations: 291.8 kB / 0.7699 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.1705, allocations: 21.03 kB / 0.7699 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/0.1705, allocations: 32.36 kB / 0.7699 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000633/0.1711, allocations: 471.7 kB / 0.7704 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1711, allocations: 4 kB / 0.7704 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.1712, allocations: 15.98 kB / 0.7704 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-05/0.1712, allocations: 28.55 kB / 0.7704 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004733/0.1717, allocations: 317.9 kB / 0.7707 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002171/0.1739, allocations: 2.185 MB / 0.7728 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.1742, allocations: 235.8 kB / 0.7731 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.1745, allocations: 104.7 kB / 0.7732 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.1745, allocations: 96 / 0.7732 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.1745, allocations: 42.56 kB / 0.7732 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.1745, allocations: 4 kB / 0.7732 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0005739/0.1751, allocations: 299.6 kB / 0.7735 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.1751, allocations: 55.41 kB / 0.7735 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.1754, allocations: 262.6 kB / 0.7738 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.1754, allocations: 33.7 kB / 0.7738 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.1755, allocations: 216.2 kB / 0.774 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.1756, allocations: 47.59 kB / 0.7741 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.647e-05/0.1757, allocations: 53.89 kB / 0.7741 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1758, allocations: 334.8 kB / 0.7745 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.644e-05/0.1759, allocations: 60.44 kB / 0.7745 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.1761, allocations: 148.9 kB / 0.7747 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.1763, allocations: 212.9 kB / 0.7749 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.1763, allocations: 4 kB / 0.7749 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004154/0.1768, allocations: 266 kB / 0.7751 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1768, allocations: 8 kB / 0.7751 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1768, allocations: 0 / 0.7751 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001466/0.1769, allocations: 33.22 kB / 0.7752 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.1771, allocations: 47.91 kB / 0.7752 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.1783, allocations: 1.427 MB / 0.7766 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.1784, allocations: 27.78 kB / 0.7766 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.1784, allocations: 12 kB / 0.7766 GB, free: 15.18 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.0001504/0.1786, allocations: 169.6 kB / 0.7768 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.1786, allocations: 23.86 kB / 0.7768 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.938e-05/0.1787, allocations: 33.92 kB / 0.7768 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1787, allocations: 0 / 0.7768 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.1787, allocations: 0 / 0.7768 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1787, allocations: 0 / 0.7768 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008696/0.1796, allocations: 0.7025 MB / 0.7775 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1796, allocations: 0 / 0.7775 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.002e-05/0.1797, allocations: 27.94 kB / 0.7776 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.286e-05/0.1797, allocations: 24.78 kB / 0.7776 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.1797, allocations: 8 kB / 0.7776 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.1808, allocations: 1.422 MB / 0.779 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.1808, allocations: 3.938 kB / 0.779 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003305/0.1811, allocations: 319.3 kB / 0.7793 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.1812, allocations: 120.9 kB / 0.7794 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.1813, allocations: 4 kB / 0.7794 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.1814, allocations: 12 kB / 0.7794 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.1815, allocations: 19.86 kB / 0.7794 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.1815, allocations: 4 kB / 0.7794 GB, free: 12 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001836/0.1816, allocations: 194 kB / 0.7796 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1816, allocations: 4 kB / 0.7796 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003465/0.182, allocations: 75.84 kB / 0.7797 GB, free: 11.73 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.0006282/0.1826, allocations: 0.8469 MB / 0.7805 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004203/0.183, allocations: 259.1 kB / 0.7808 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.183, allocations: 4.062 kB / 0.7808 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.1833, allocations: 182.5 kB / 0.781 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.1837, allocations: 59.88 kB / 0.781 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.1867, allocations: 2.732 MB / 0.7837 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.1871, allocations: 0.7909 MB / 0.7845 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001193/0.1872, allocations: 54.44 kB / 0.7845 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.1873, allocations: 83.41 kB / 0.7846 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of SimCode: time 3.51e-07/0.1873, allocations: 3.938 kB / 0.7846 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03197/0.2193, allocations: 5.398 MB / 0.7899 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.897/9.116, allocations: 10.28 kB / 0.7899 GB, free: 1.176 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.513156622997485]