Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001167/0.001167, 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.001394/0.001394, 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.275/1.275, allocations: 225.6 MB / 249.3 MB, free: 3.211 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.9792/0.9792, allocations: 175.7 MB / 480.1 MB, free: 2.832 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_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 75.66 kB / 0.6678 GB, free: 11.02 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1608, allocations: 94.52 MB / 0.7601 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.00799/0.1687, allocations: 6.403 MB / 0.7663 GB, free: 10.42 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.004863/0.1736, allocations: 3.289 MB / 0.7695 GB, free: 7.121 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002649/0.1739, allocations: 31.81 kB / 0.7696 GB, free: 7.09 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.002297/0.1762, allocations: 0.9726 MB / 0.7705 GB, free: 6.113 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0009533/0.1771, allocations: 489.5 kB / 0.771 GB, free: 5.633 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.1782, allocations: 0.5139 MB / 0.7715 GB, free: 5.121 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.001201/0.1795, allocations: 1.1 MB / 0.7726 GB, free: 4.016 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000711/0.1802, allocations: 466.3 kB / 0.773 GB, free: 3.551 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005153/0.1807, allocations: 434.4 kB / 0.7734 GB, free: 3.125 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006056/0.1813, allocations: 0.4981 MB / 0.7739 GB, free: 2.625 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 8.653e-05/0.1814, allocations: 60 kB / 0.774 GB, free: 2.566 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000793/0.1822, allocations: 499 kB / 0.7744 GB, free: 2.078 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0002854/0.1824, allocations: 295.2 kB / 0.7747 GB, free: 1.789 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0003886/0.1828, allocations: 401.9 kB / 0.7751 GB, free: 1.395 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.1841, allocations: 1.183 MB / 0.7763 GB, free: 212 kB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1841, allocations: 0 / 0.7763 GB, free: 212 kB / 0.5763 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1841, allocations: 0 / 0.7763 GB, free: 212 kB / 0.5763 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.1842, allocations: 3.984 kB / 0.7763 GB, free: 208 kB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001558/0.1857, allocations: 1.089 MB / 0.7773 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1858, allocations: 8.031 kB / 0.7773 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001322/0.1859, allocations: 118.7 kB / 0.7774 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.1873, allocations: 232 kB / 0.7777 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008339/0.1881, allocations: 0.5926 MB / 0.7782 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/0.1881, allocations: 49.67 kB / 0.7783 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.1882, allocations: 64.36 kB / 0.7784 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.1896, allocations: 1.03 MB / 0.7794 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/0.1897, allocations: 11.89 kB / 0.7794 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-05/0.1897, allocations: 31.98 kB / 0.7794 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-05/0.1898, allocations: 65.27 kB / 0.7795 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.1908, allocations: 0.6957 MB / 0.7801 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004921/0.1957, allocations: 5.742 MB / 0.7857 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007912/0.1965, allocations: 0.5552 MB / 0.7863 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007555/0.1973, allocations: 388.6 kB / 0.7867 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.1973, allocations: 4.688 kB / 0.7867 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1973, allocations: 38.56 kB / 0.7867 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=41): time 6.883e-06/0.1973, allocations: 0 / 0.7867 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.004086/0.2014, allocations: 2.015 MB / 0.7887 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.2015, allocations: 55.41 kB / 0.7887 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004734/0.2019, allocations: 466.8 kB / 0.7892 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.202, allocations: 37.7 kB / 0.7892 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.2023, allocations: 396.1 kB / 0.7896 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.2024, allocations: 162.6 kB / 0.7897 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.2025, allocations: 110.3 kB / 0.7898 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.2027, allocations: 362.8 kB / 0.7902 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/0.2031, allocations: 241.2 kB / 0.7904 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005066/0.2036, allocations: 461 kB / 0.7909 GB, free: 324 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009195/0.2045, allocations: 0.7449 MB / 0.7916 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.2045, allocations: 8 kB / 0.7916 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001783/0.2063, allocations: 1.035 MB / 0.7926 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.2063, allocations: 8 kB / 0.7926 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.2063, allocations: 11.94 kB / 0.7926 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009804/0.2073, allocations: 319.3 kB / 0.7929 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.2076, allocations: 99.81 kB / 0.793 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007364/0.215, allocations: 7.471 MB / 0.8003 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003852/0.2153, allocations: 36.02 kB / 0.8004 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/0.2154, allocations: 28 kB / 0.8004 GB, free: 5.875 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003183/0.2157, allocations: 244.9 kB / 0.8006 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-05/0.2158, allocations: 67.56 kB / 0.8007 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.2174, allocations: 0.877 MB / 0.8015 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.2174, allocations: 4 kB / 0.8015 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2175, allocations: 4 kB / 0.8015 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.2175, allocations: 7.922 kB / 0.8015 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00255/0.22, allocations: 1.657 MB / 0.8032 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.22, allocations: 4 kB / 0.8032 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.2202, allocations: 44.03 kB / 0.8032 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008694/0.221, allocations: 311.6 kB / 0.8035 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/0.2211, allocations: 12 kB / 0.8035 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00714/0.2282, allocations: 7.463 MB / 0.8108 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.2282, allocations: 11.94 kB / 0.8108 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.2299, allocations: 0.9843 MB / 0.8118 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.2302, allocations: 176.7 kB / 0.812 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.325e-05/0.2302, allocations: 15.98 kB / 0.812 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000263/0.2305, allocations: 19.92 kB / 0.812 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.2306, allocations: 47.88 kB / 0.812 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.2306, allocations: 8 kB / 0.812 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004295/0.2311, allocations: 310.9 kB / 0.8123 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.2311, allocations: 0 / 0.8123 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008547/0.2319, allocations: 200 kB / 0.8125 GB, free: 8.684 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002021/0.2339, allocations: 1.53 MB / 0.814 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00184/0.2358, allocations: 1.156 MB / 0.8151 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2358, allocations: 4.062 kB / 0.8152 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.237, allocations: 0.8346 MB / 0.816 GB, free: 4.996 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000912/0.2379, allocations: 201.2 kB / 0.8162 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007799/0.2457, allocations: 5.869 MB / 0.8219 GB, free: 14.62 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006385/0.2463, allocations: 0.9959 MB / 0.8229 GB, free: 13.59 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.000253/0.2466, allocations: 101.3 kB / 0.823 GB, free: 13.49 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000277/0.2469, allocations: 227.4 kB / 0.8232 GB, free: 13.27 MB / 0.6388 GB Notification: Performance of SimCode: time 7.01e-07/0.2469, allocations: 0 / 0.8232 GB, free: 13.27 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05414/0.301, allocations: 15.57 MB / 0.8384 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.611/9.912, allocations: 7.766 kB / 0.8384 GB, free: 13.92 MB / 0.6544 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.307069133996265]