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.001405/0.001405, allocations: 108.1 kB / 17.54 MB, free: 4.758 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.00141/0.00141, allocations: 186.7 kB / 20.71 MB, free: 1.605 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.304/1.304, allocations: 225.6 MB / 249.3 MB, free: 3.32 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.9774/0.9774, allocations: 175.7 MB / 480.1 MB, free: 2.824 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.001749/0.001749, allocations: 74.94 kB / 0.6677 GB, free: 11 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1573, allocations: 94.53 MB / 0.7601 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.004512/0.1618, allocations: 3.161 MB / 0.7631 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002018/0.1638, allocations: 1.379 MB / 0.7645 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.797e-05/0.1639, allocations: 4 kB / 0.7645 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009864/0.1649, allocations: 346.7 kB / 0.7648 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.1652, allocations: 151.2 kB / 0.765 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.1655, allocations: 135.1 kB / 0.7651 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003528/0.1659, allocations: 302.9 kB / 0.7654 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003432/0.1662, allocations: 176.3 kB / 0.7656 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.1664, allocations: 119.6 kB / 0.7657 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.1667, allocations: 147.4 kB / 0.7658 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.1667, allocations: 20 kB / 0.7658 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002961/0.167, allocations: 179.5 kB / 0.766 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.363e-05/0.1671, allocations: 79.8 kB / 0.7661 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.1672, allocations: 107.5 kB / 0.7662 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004163/0.1676, allocations: 334.8 kB / 0.7665 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1676, allocations: 0 / 0.7665 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1676, allocations: 0 / 0.7665 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.1676, allocations: 0 / 0.7665 GB, free: 10.2 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.0007979/0.1684, allocations: 0.5297 MB / 0.767 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.1685, allocations: 12.03 kB / 0.767 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.483e-05/0.1685, allocations: 58.72 kB / 0.7671 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005376/0.1691, allocations: 80.72 kB / 0.7672 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.1694, allocations: 241.5 kB / 0.7674 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.1694, allocations: 16.75 kB / 0.7674 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.1694, allocations: 16.38 kB / 0.7674 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.1698, allocations: 303.3 kB / 0.7677 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1698, allocations: 0 / 0.7677 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.1699, allocations: 12 kB / 0.7677 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/0.1699, allocations: 12.38 kB / 0.7677 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.1702, allocations: 196.9 kB / 0.7679 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.1716, allocations: 1.468 MB / 0.7694 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.1718, allocations: 167.7 kB / 0.7695 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.383e-05/0.1719, allocations: 28.84 kB / 0.7695 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.662e-06/0.1719, allocations: 4 kB / 0.7695 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.1719, allocations: 30.56 kB / 0.7696 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1719, allocations: 4 kB / 0.7696 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0004538/0.1724, allocations: 235.6 kB / 0.7698 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.1724, allocations: 51.41 kB / 0.7699 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.1726, allocations: 198.8 kB / 0.77 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.1726, allocations: 25.7 kB / 0.7701 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.1727, allocations: 167.9 kB / 0.7702 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.1728, allocations: 31.78 kB / 0.7703 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-05/0.1728, allocations: 37.67 kB / 0.7703 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.173, allocations: 326.8 kB / 0.7706 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.781e-05/0.173, allocations: 43.88 kB / 0.7706 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.1731, allocations: 102.2 kB / 0.7707 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.1733, allocations: 144.4 kB / 0.7709 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1733, allocations: 4 kB / 0.7709 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002945/0.1736, allocations: 190.1 kB / 0.7711 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.1736, allocations: 4.281 kB / 0.7711 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1736, allocations: 8 kB / 0.7711 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001501/0.1738, allocations: 24.84 kB / 0.7711 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.1739, allocations: 35.92 kB / 0.7711 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.175, allocations: 1.419 MB / 0.7725 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.1751, allocations: 11.89 kB / 0.7725 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.1751, allocations: 8.375 kB / 0.7725 GB, free: 3.402 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.0001303/0.1753, allocations: 153.8 kB / 0.7727 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.1753, allocations: 19.91 kB / 0.7727 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.1753, allocations: 21.34 kB / 0.7727 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.1753, allocations: 0 / 0.7727 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.1753, allocations: 0 / 0.7727 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1753, allocations: 3.984 kB / 0.7727 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005146/0.1759, allocations: 451.2 kB / 0.7732 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1759, allocations: 0 / 0.7732 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.798e-05/0.1759, allocations: 11.92 kB / 0.7732 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.796e-05/0.176, allocations: 28.84 kB / 0.7732 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.176, allocations: 0 / 0.7732 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/0.177, allocations: 1.414 MB / 0.7746 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.177, allocations: 0 / 0.7746 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.1773, allocations: 204.3 kB / 0.7748 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.1773, allocations: 97.09 kB / 0.7749 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.1773, allocations: 4 kB / 0.7749 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.1775, allocations: 7.984 kB / 0.7749 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.747e-05/0.1775, allocations: 4 kB / 0.7749 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.1775, allocations: 0 / 0.7749 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000126/0.1776, allocations: 148.4 kB / 0.775 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1776, allocations: 0 / 0.775 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002979/0.1779, allocations: 51.89 kB / 0.7751 GB, free: 0.5625 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.0005358/0.1784, allocations: 0.7483 MB / 0.7758 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003473/0.1788, allocations: 206.9 kB / 0.776 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1788, allocations: 4.188 kB / 0.776 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.1789, allocations: 150.6 kB / 0.7761 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.1793, allocations: 40.14 kB / 0.7762 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.1815, allocations: 2.046 MB / 0.7782 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.1818, allocations: 0.7475 MB / 0.7789 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.952e-05/0.1819, allocations: 29.52 kB / 0.7789 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.363e-05/0.182, allocations: 47.42 kB / 0.779 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.182, allocations: 0 / 0.779 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02948/0.2115, allocations: 3.733 MB / 0.7826 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.864/9.075, allocations: 4.984 kB / 0.7826 GB, free: 8.715 MB / 0.5919 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_Resistance.fmu > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.475961468997411]