Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001159/0.001159, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.00116/0.00116, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.268/1.268, allocations: 225.6 MB / 249.3 MB, free: 3.176 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.9784/0.9784, allocations: 175.7 MB / 480.1 MB, free: 2.758 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.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 68.14 kB / 0.6678 GB, free: 11 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1545, allocations: 94.53 MB / 0.7601 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008506/0.163, allocations: 7.06 MB / 0.767 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004693/0.1677, allocations: 3.176 MB / 0.7701 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000274/0.168, allocations: 27.81 kB / 0.7701 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002306/0.1703, allocations: 0.9919 MB / 0.7711 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009316/0.1712, allocations: 0.5167 MB / 0.7716 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008883/0.1721, allocations: 451 kB / 0.772 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001207/0.1733, allocations: 1.228 MB / 0.7732 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006758/0.174, allocations: 486.2 kB / 0.7737 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005182/0.1745, allocations: 474.3 kB / 0.7741 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007025/0.1752, allocations: 0.5526 MB / 0.7747 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.885e-05/0.1753, allocations: 67.94 kB / 0.7747 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006231/0.1759, allocations: 391.2 kB / 0.7751 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002993/0.1762, allocations: 323 kB / 0.7754 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004238/0.1766, allocations: 445.8 kB / 0.7758 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.1779, allocations: 1.234 MB / 0.777 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1779, allocations: 0 / 0.777 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1779, allocations: 0 / 0.777 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.1779, allocations: 0 / 0.777 GB, free: 15.36 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001796/0.1797, allocations: 1.191 MB / 0.7782 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.1797, allocations: 15.97 kB / 0.7782 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001408/0.1799, allocations: 118.7 kB / 0.7783 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.1813, allocations: 248.1 kB / 0.7786 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009111/0.1822, allocations: 0.6042 MB / 0.7792 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/0.1823, allocations: 53.67 kB / 0.7792 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.953e-05/0.1824, allocations: 60.36 kB / 0.7793 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.1838, allocations: 1.089 MB / 0.7803 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.1839, allocations: 15.89 kB / 0.7803 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.641e-05/0.1839, allocations: 31.98 kB / 0.7804 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001467/0.1841, allocations: 85.25 kB / 0.7805 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.1852, allocations: 0.7465 MB / 0.7812 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005398/0.1906, allocations: 5.882 MB / 0.7869 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009323/0.1915, allocations: 0.5086 MB / 0.7874 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004137/0.1919, allocations: 286 kB / 0.7877 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.192, allocations: 8.422 kB / 0.7877 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.192, allocations: 43 kB / 0.7877 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 1.563e-06/0.192, allocations: 0 / 0.7877 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.003928/0.1959, allocations: 1.984 MB / 0.7897 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.196, allocations: 63.84 kB / 0.7897 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006941/0.1967, allocations: 0.5626 MB / 0.7903 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.1967, allocations: 33.7 kB / 0.7903 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/0.1971, allocations: 432 kB / 0.7907 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.1972, allocations: 178.5 kB / 0.7909 GB, free: 372 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/0.1974, allocations: 126.6 kB / 0.791 GB, free: 240 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002245/0.1977, allocations: 374.7 kB / 0.7914 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000448/0.1981, allocations: 281.8 kB / 0.7917 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006204/0.1987, allocations: 493 kB / 0.7921 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.1998, allocations: 0.8093 MB / 0.7929 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.1998, allocations: 4 kB / 0.7929 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001872/0.2017, allocations: 1.079 MB / 0.794 GB, free: 13 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.2017, allocations: 8 kB / 0.794 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.2017, allocations: 8 kB / 0.794 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008257/0.2026, allocations: 283.6 kB / 0.7943 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.203, allocations: 131.7 kB / 0.7944 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006939/0.21, allocations: 7.136 MB / 0.8014 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005195/0.2105, allocations: 40.14 kB / 0.8014 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.572e-05/0.2105, allocations: 32 kB / 0.8014 GB, free: 4.797 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003501/0.2109, allocations: 261.5 kB / 0.8017 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.211, allocations: 75.53 kB / 0.8017 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.2126, allocations: 0.8769 MB / 0.8026 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.2126, allocations: 12 kB / 0.8026 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.2126, allocations: 4 kB / 0.8026 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/0.2126, allocations: 3.984 kB / 0.8026 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/0.2151, allocations: 1.713 MB / 0.8043 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.2151, allocations: 3.938 kB / 0.8043 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.2154, allocations: 59.89 kB / 0.8043 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007178/0.2161, allocations: 267.4 kB / 0.8046 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.2161, allocations: 8 kB / 0.8046 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006617/0.2227, allocations: 7.13 MB / 0.8116 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.2227, allocations: 4.031 kB / 0.8116 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.2242, allocations: 0.9802 MB / 0.8125 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.2244, allocations: 196.6 kB / 0.8127 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.904e-05/0.2245, allocations: 15.94 kB / 0.8127 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003422/0.2249, allocations: 32.14 kB / 0.8128 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.574e-05/0.2249, allocations: 39.95 kB / 0.8128 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.225, allocations: 12 kB / 0.8128 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000428/0.2254, allocations: 395.1 kB / 0.8132 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.2254, allocations: 4 kB / 0.8132 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007083/0.2261, allocations: 227.9 kB / 0.8134 GB, free: 7.754 MB / 0.6231 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001793/0.2279, allocations: 1.529 MB / 0.8149 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001854/0.2297, allocations: 1.24 MB / 0.8161 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.2298, allocations: 4 kB / 0.8161 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.231, allocations: 0.862 MB / 0.817 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009168/0.2319, allocations: 225.2 kB / 0.8172 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008191/0.2401, allocations: 6.397 MB / 0.8234 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006455/0.2407, allocations: 1.017 MB / 0.8244 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003178/0.241, allocations: 126 kB / 0.8245 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003177/0.2414, allocations: 259.3 kB / 0.8248 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of SimCode: time 3.71e-07/0.2414, allocations: 0 / 0.8248 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05463/0.296, allocations: 17.69 MB / 0.8421 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.887/10.18, allocations: 0 / 0.8421 GB, free: 10.16 MB / 0.6544 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.836674245991162]