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.001394/0.001394, allocations: 108.2 kB / 17.54 MB, free: 4.766 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.001378/0.001378, allocations: 182.7 kB / 20.71 MB, free: 1.609 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.28/1.28, allocations: 225.6 MB / 249.3 MB, free: 3.301 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.9753/0.9753, allocations: 175.7 MB / 480.1 MB, free: 2.816 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.001753/0.001753, allocations: 67.14 kB / 0.6677 GB, free: 11.04 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1523, allocations: 94.52 MB / 0.76 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.005914/0.1582, allocations: 4.512 MB / 0.7645 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002751/0.161, allocations: 1.912 MB / 0.7663 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.1611, allocations: 8 kB / 0.7663 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00156/0.1627, allocations: 0.6174 MB / 0.7669 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004886/0.1632, allocations: 262.6 kB / 0.7672 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005556/0.1637, allocations: 255.4 kB / 0.7674 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000645/0.1644, allocations: 0.615 MB / 0.768 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005172/0.1649, allocations: 322.9 kB / 0.7683 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002631/0.1652, allocations: 251.1 kB / 0.7686 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004567/0.1656, allocations: 279 kB / 0.7688 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.174e-05/0.1657, allocations: 36 kB / 0.7689 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004301/0.1661, allocations: 267.5 kB / 0.7691 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.1663, allocations: 151.5 kB / 0.7693 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002165/0.1665, allocations: 219 kB / 0.7695 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006572/0.1671, allocations: 0.6149 MB / 0.7701 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1671, allocations: 4 kB / 0.7701 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1672, allocations: 0 / 0.7701 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.1672, allocations: 0 / 0.7701 GB, free: 6.543 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.001137/0.1683, allocations: 0.7285 MB / 0.7708 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.1683, allocations: 8.031 kB / 0.7708 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.144e-05/0.1684, allocations: 74.7 kB / 0.7709 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009046/0.1693, allocations: 152.5 kB / 0.771 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.1697, allocations: 350.6 kB / 0.7714 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.1698, allocations: 25.38 kB / 0.7714 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.406e-05/0.1698, allocations: 32.38 kB / 0.7714 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007487/0.1706, allocations: 0.5355 MB / 0.7719 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1706, allocations: 0 / 0.7719 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.834e-05/0.1706, allocations: 12 kB / 0.7719 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.778e-05/0.1707, allocations: 32.64 kB / 0.772 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005817/0.1713, allocations: 386.3 kB / 0.7723 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002536/0.1738, allocations: 2.412 MB / 0.7747 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/0.1743, allocations: 238.5 kB / 0.7749 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.1744, allocations: 92.81 kB / 0.775 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.1745, allocations: 4 kB / 0.775 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.1745, allocations: 38.56 kB / 0.7751 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 1.212e-06/0.1745, allocations: 4 kB / 0.7751 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.002115/0.1766, allocations: 1.124 MB / 0.7762 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.1766, allocations: 55.41 kB / 0.7762 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.177, allocations: 312.4 kB / 0.7765 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.177, allocations: 29.7 kB / 0.7765 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.1771, allocations: 236.1 kB / 0.7768 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.615e-05/0.1772, allocations: 83.27 kB / 0.7768 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.1773, allocations: 61.98 kB / 0.7769 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1775, allocations: 342.8 kB / 0.7772 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.1776, allocations: 104.6 kB / 0.7773 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.1779, allocations: 195.7 kB / 0.7775 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/0.1783, allocations: 324.1 kB / 0.7778 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1783, allocations: 0 / 0.7778 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007417/0.179, allocations: 442.1 kB / 0.7782 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.179, allocations: 8 kB / 0.7783 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.179, allocations: 0 / 0.7783 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003416/0.1794, allocations: 102.4 kB / 0.7784 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.1796, allocations: 67.97 kB / 0.7784 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00359/0.1832, allocations: 4.393 MB / 0.7827 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.1835, allocations: 12.02 kB / 0.7827 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.1835, allocations: 16 kB / 0.7827 GB, free: 8.551 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.0002153/0.1837, allocations: 173.8 kB / 0.7829 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.1838, allocations: 35.75 kB / 0.7829 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.979e-05/0.1839, allocations: 42.38 kB / 0.783 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1839, allocations: 4 kB / 0.783 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1839, allocations: 0 / 0.783 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.1839, allocations: 0 / 0.783 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004683/0.1843, allocations: 405.2 kB / 0.7834 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.1843, allocations: 3.938 kB / 0.7834 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.1845, allocations: 35.97 kB / 0.7834 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003122/0.1848, allocations: 98.44 kB / 0.7835 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.1849, allocations: 8 kB / 0.7835 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003402/0.1883, allocations: 4.387 MB / 0.7878 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1883, allocations: 3.938 kB / 0.7878 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008272/0.1891, allocations: 0.5597 MB / 0.7883 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.1892, allocations: 128.9 kB / 0.7885 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.1893, allocations: 0 / 0.7885 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.1895, allocations: 15.98 kB / 0.7885 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.1895, allocations: 15.98 kB / 0.7885 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.1895, allocations: 4 kB / 0.7885 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002224/0.1897, allocations: 223.1 kB / 0.7887 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1897, allocations: 0 / 0.7887 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004466/0.1902, allocations: 96 kB / 0.7888 GB, free: 1.809 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.001095/0.1913, allocations: 1.093 MB / 0.7899 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008372/0.1921, allocations: 0.6009 MB / 0.7905 GB, free: 44 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1921, allocations: 0 / 0.7905 GB, free: 44 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005162/0.1926, allocations: 459.9 kB / 0.7909 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.1931, allocations: 81.16 kB / 0.791 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004152/0.1972, allocations: 3.366 MB / 0.7943 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.1977, allocations: 0.8465 MB / 0.7951 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001701/0.1979, allocations: 62.92 kB / 0.7951 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.198, allocations: 107.4 kB / 0.7952 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of SimCode: time 4.5e-07/0.198, allocations: 0 / 0.7952 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04119/0.2392, allocations: 7.854 MB / 0.8029 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.21/9.449, allocations: 6.484 kB / 0.8029 GB, free: 3.199 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 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.863052118002088]