Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001271/0.001271, 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.001382/0.001382, 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.298/1.298, allocations: 225.6 MB / 249.3 MB, free: 3.203 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.9655/0.9655, allocations: 175.7 MB / 480.1 MB, free: 2.855 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.ACLineMedium,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 67.64 kB / 0.6678 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1538, allocations: 94.53 MB / 0.7601 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01755/0.1713, allocations: 15.31 MB / 0.775 GB, free: 1.52 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.01531/0.1866, allocations: 10.72 MB / 0.7855 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009693/0.1876, allocations: 59.62 kB / 0.7855 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004227/0.1918, allocations: 1.758 MB / 0.7873 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004602/0.1964, allocations: 1.842 MB / 0.7891 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.1982, allocations: 0.76 MB / 0.7898 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003329/0.2016, allocations: 2.756 MB / 0.7925 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.2029, allocations: 1.001 MB / 0.7935 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001907/0.2048, allocations: 1.535 MB / 0.795 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.2064, allocations: 1.226 MB / 0.7962 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002555/0.2067, allocations: 160 kB / 0.7963 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/0.2082, allocations: 0.8071 MB / 0.7971 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006242/0.2088, allocations: 0.623 MB / 0.7977 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009914/0.2098, allocations: 0.96 MB / 0.7987 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003064/0.2129, allocations: 2.775 MB / 0.8014 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2129, allocations: 0 / 0.8014 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2129, allocations: 0 / 0.8014 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.497e-05/0.2129, allocations: 0 / 0.8014 GB, free: 6.434 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003672/0.2166, allocations: 2.23 MB / 0.8035 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.2166, allocations: 8.031 kB / 0.8036 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000237/0.2168, allocations: 190.4 kB / 0.8037 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01144/0.2283, allocations: 2.121 MB / 0.8058 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002353/0.2306, allocations: 1.316 MB / 0.8071 GB, free: 456 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.62e-05/0.2307, allocations: 86.69 kB / 0.8072 GB, free: 368 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002281/0.2309, allocations: 111.9 kB / 0.8073 GB, free: 256 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005518/0.2364, allocations: 2.678 MB / 0.8099 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.083e-05/0.2365, allocations: 11.94 kB / 0.8099 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.2366, allocations: 47.98 kB / 0.81 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006391/0.2373, allocations: 194.1 kB / 0.8101 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007452/0.2447, allocations: 2.791 MB / 0.8129 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0141/0.2588, allocations: 10.5 MB / 0.8231 GB, free: 15.29 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006611/0.2654, allocations: 2.251 MB / 0.8253 GB, free: 13.01 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00307/0.2685, allocations: 1.206 MB / 0.8265 GB, free: 11.8 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 5.401e-05/0.2686, allocations: 9 kB / 0.8265 GB, free: 11.79 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.2686, allocations: 43.56 kB / 0.8265 GB, free: 11.74 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=89): time 2.314e-06/0.2686, allocations: 4 kB / 0.8265 GB, free: 11.74 MB / 0.6388 GB Notification: Performance of matching and sorting (n=153): time 0.3546/0.6232, allocations: 16.43 MB / 0.8426 GB, free: 72.13 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.6232, allocations: 72.77 kB / 0.8427 GB, free: 72.06 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/0.6249, allocations: 1.176 MB / 0.8438 GB, free: 71.6 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0001441/0.6251, allocations: 54.02 kB / 0.8439 GB, free: 71.55 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/0.6255, allocations: 0.7579 MB / 0.8446 GB, free: 71.01 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003782/0.6259, allocations: 0.5372 MB / 0.8451 GB, free: 70.66 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005421/0.6264, allocations: 288.9 kB / 0.8454 GB, free: 70.53 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 3.477e-05/0.6264, allocations: 305.5 kB / 0.8457 GB, free: 70.23 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003551/0.63, allocations: 1.51 MB / 0.8472 GB, free: 69.79 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003848/0.6338, allocations: 1.781 MB / 0.8489 GB, free: 69.04 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007118/0.641, allocations: 3.364 MB / 0.8522 GB, free: 67.7 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.641, allocations: 2.156 kB / 0.8522 GB, free: 67.7 MB / 0.6388 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01296/0.6539, allocations: 5.218 MB / 0.8573 GB, free: 65.99 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.6539, allocations: 8.531 kB / 0.8573 GB, free: 65.99 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.654, allocations: 6.688 kB / 0.8573 GB, free: 65.99 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006006/0.66, allocations: 1.88 MB / 0.8591 GB, free: 65.52 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/0.6618, allocations: 412.3 kB / 0.8595 GB, free: 65.5 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02306/0.6849, allocations: 24.17 MB / 0.8831 GB, free: 46.8 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002495/0.6873, allocations: 305.4 kB / 0.8834 GB, free: 46.65 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.6875, allocations: 71.27 kB / 0.8835 GB, free: 46.63 MB / 0.6388 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006809/0.6882, allocations: 466.4 kB / 0.8839 GB, free: 46.3 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002475/0.6884, allocations: 181.7 kB / 0.8841 GB, free: 46.21 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/0.6997, allocations: 5.245 MB / 0.8892 GB, free: 43.15 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.6997, allocations: 14.91 kB / 0.8893 GB, free: 43.15 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-05/0.6998, allocations: 18.75 kB / 0.8893 GB, free: 43.15 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.6998, allocations: 7.969 kB / 0.8893 GB, free: 43.14 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0132/0.713, allocations: 7.355 MB / 0.8965 GB, free: 36.63 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.713, allocations: 4 kB / 0.8965 GB, free: 36.63 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/0.7145, allocations: 355.7 kB / 0.8968 GB, free: 36.28 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004917/0.7194, allocations: 1.709 MB / 0.8985 GB, free: 34.55 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.7195, allocations: 39.97 kB / 0.8985 GB, free: 34.52 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01908/0.7386, allocations: 23.32 MB / 0.9213 GB, free: 10.12 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.7386, allocations: 11.22 kB / 0.9213 GB, free: 10.11 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/0.7487, allocations: 4.826 MB / 0.926 GB, free: 5.199 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006139/0.7493, allocations: 0.4919 MB / 0.9265 GB, free: 4.688 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002121/0.7495, allocations: 35.98 kB / 0.9265 GB, free: 4.652 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001941/0.7515, allocations: 315.5 kB / 0.9268 GB, free: 4.344 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002995/0.7518, allocations: 156.9 kB / 0.927 GB, free: 4.188 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/0.7519, allocations: 55.97 kB / 0.927 GB, free: 4.133 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.0007271/0.7526, allocations: 0.7899 MB / 0.9278 GB, free: 3.344 MB / 0.6388 GB Notification: Performance of sort global known variables: time 8e-08/0.7526, allocations: 480 / 0.9278 GB, free: 3.344 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.001561/0.7542, allocations: 0.6523 MB / 0.9284 GB, free: 2.691 MB / 0.6388 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01132/0.7655, allocations: 5.412 MB / 0.9337 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.011/0.7765, allocations: 4.929 MB / 0.9385 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7765, allocations: 0 / 0.9385 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006714/0.7832, allocations: 3.273 MB / 0.9417 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/0.7853, allocations: 0.5521 MB / 0.9423 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04537/0.8307, allocations: 21.78 MB / 0.9635 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/0.8321, allocations: 1.572 MB / 0.9651 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001271/0.8333, allocations: 391 kB / 0.9654 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009081/0.8342, allocations: 0.6554 MB / 0.9661 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of SimCode: time 7.82e-07/0.8342, allocations: 0 / 0.9661 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1219/0.9561, allocations: 59.71 MB / 1.024 GB, free: 260 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.2/19.16, allocations: 16.28 kB / 1.024 GB, free: 248 kB / 0.7325 GB " [Timeout remaining time 641] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.6256591410056]