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.001496/0.001496, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001938/0.001938, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.428/1.428, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] 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 1.056/1.056, allocations: 175.7 MB / 479.1 MB, free: 3.43 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: translateModel(IDEAS.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel") translateModel(IDEAS.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 67.67 kB / 0.6663 GB, free: 10.85 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1941, allocations: 94.55 MB / 0.7586 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.006366/0.2004, allocations: 4.41 MB / 0.763 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003216/0.2036, allocations: 1.881 MB / 0.7648 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002205/0.2039, allocations: 11.94 kB / 0.7648 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.2055, allocations: 0.606 MB / 0.7654 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006361/0.2062, allocations: 258.6 kB / 0.7656 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007048/0.2069, allocations: 251.4 kB / 0.7659 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007466/0.2076, allocations: 0.6189 MB / 0.7665 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006403/0.2083, allocations: 362.9 kB / 0.7668 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003142/0.2086, allocations: 251.1 kB / 0.7671 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005113/0.2091, allocations: 282.9 kB / 0.7673 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.58e-05/0.2092, allocations: 36 kB / 0.7674 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004892/0.2097, allocations: 263.4 kB / 0.7676 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.2098, allocations: 147.5 kB / 0.7678 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002421/0.2101, allocations: 223 kB / 0.768 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00082/0.2109, allocations: 0.6149 MB / 0.7686 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2109, allocations: 0 / 0.7686 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2109, allocations: 3.938 kB / 0.7686 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.2109, allocations: 0 / 0.7686 GB, free: 6.91 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.001299/0.2122, allocations: 0.7363 MB / 0.7693 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.2122, allocations: 8.031 kB / 0.7693 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009968/0.2132, allocations: 144.5 kB / 0.7695 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004858/0.2137, allocations: 350.6 kB / 0.7698 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.2138, allocations: 25.38 kB / 0.7698 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.004e-05/0.2138, allocations: 32.38 kB / 0.7698 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008708/0.2147, allocations: 0.5356 MB / 0.7704 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.2147, allocations: 7.938 kB / 0.7704 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/0.2148, allocations: 12 kB / 0.7704 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.302e-05/0.2148, allocations: 32.64 kB / 0.7704 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000645/0.2155, allocations: 390.3 kB / 0.7708 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003015/0.2185, allocations: 2.396 MB / 0.7731 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000602/0.2191, allocations: 242.5 kB / 0.7734 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.2193, allocations: 100.8 kB / 0.7735 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.2193, allocations: 0 / 0.7735 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.2193, allocations: 38.5 kB / 0.7735 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 1.272e-06/0.2193, allocations: 0 / 0.7735 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.002604/0.2219, allocations: 1.126 MB / 0.7746 GB, free: 312 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.222, allocations: 59.39 kB / 0.7746 GB, free: 240 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003847/0.2224, allocations: 304.5 kB / 0.7749 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.2224, allocations: 29.7 kB / 0.775 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.2226, allocations: 244 kB / 0.7752 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.965e-05/0.2227, allocations: 83.27 kB / 0.7753 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.2228, allocations: 65.98 kB / 0.7753 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.223, allocations: 338.8 kB / 0.7757 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.2231, allocations: 100.6 kB / 0.7758 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.2234, allocations: 191.7 kB / 0.7759 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004525/0.2239, allocations: 313.3 kB / 0.7762 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2239, allocations: 4 kB / 0.7762 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008381/0.2247, allocations: 445.8 kB / 0.7767 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.2247, allocations: 4 kB / 0.7767 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.2247, allocations: 8.344 kB / 0.7767 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003985/0.2251, allocations: 94.5 kB / 0.7768 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.2254, allocations: 63.89 kB / 0.7768 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003815/0.2292, allocations: 4.4 MB / 0.7811 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.2295, allocations: 16.16 kB / 0.7811 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.2295, allocations: 8 kB / 0.7812 GB, free: 9.012 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.0002253/0.2297, allocations: 177.8 kB / 0.7813 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.131e-05/0.2298, allocations: 39.73 kB / 0.7814 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.617e-05/0.2299, allocations: 46.25 kB / 0.7814 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2299, allocations: 0 / 0.7814 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.2299, allocations: 4 kB / 0.7814 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2299, allocations: 4 kB / 0.7814 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005081/0.2304, allocations: 405.2 kB / 0.7818 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2304, allocations: 0 / 0.7818 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.2306, allocations: 43.86 kB / 0.7818 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003288/0.2309, allocations: 94.48 kB / 0.7819 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.231, allocations: 4 kB / 0.7819 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003589/0.2345, allocations: 4.391 MB / 0.7862 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2345, allocations: 0 / 0.7862 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00091/0.2355, allocations: 0.5554 MB / 0.7868 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.2356, allocations: 124.9 kB / 0.7869 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.2356, allocations: 8 kB / 0.7869 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.2359, allocations: 8 kB / 0.7869 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.2359, allocations: 19.97 kB / 0.7869 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.2359, allocations: 12 kB / 0.7869 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002326/0.2362, allocations: 207.1 kB / 0.7871 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2362, allocations: 4.062 kB / 0.7871 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005137/0.2367, allocations: 103.9 kB / 0.7872 GB, free: 2.258 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.0001518/0.2368, allocations: 103.2 kB / 0.7873 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009568/0.2378, allocations: 0.5898 MB / 0.7879 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/0.2378, allocations: 0 / 0.7879 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005588/0.2384, allocations: 459.9 kB / 0.7883 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005196/0.2389, allocations: 80.47 kB / 0.7884 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.2402, allocations: 0.7643 MB / 0.7892 GB, free: 156 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/0.2407, allocations: 0.8311 MB / 0.79 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.114e-05/0.2408, allocations: 31.42 kB / 0.79 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/0.2408, allocations: 4 kB / 0.79 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of Templates: time 0.01234/0.2531, allocations: 8.701 MB / 0.7985 GB, free: 6.566 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.568109441082925] Failed to read output from testmodel.py, exit status != 0: 0.2608824169728905 0.273830152 0.060182574 Calling exit ...