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.001277/0.001277, allocations: 104 kB / 16.45 MB, free: 6.445 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.00126/0.00126, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.474/1.474, allocations: 225.6 MB / 247.8 MB, free: 3.746 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.088/1.088, allocations: 175.7 MB / 478.4 MB, free: 3.406 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.001901/0.001901, allocations: 68.41 kB / 0.6652 GB, free: 11.34 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1905, allocations: 94.54 MB / 0.7575 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009705/0.2002, allocations: 6.883 MB / 0.7643 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006341/0.2065, allocations: 3.102 MB / 0.7673 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.2077, allocations: 27.81 kB / 0.7673 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003295/0.211, allocations: 0.9713 MB / 0.7683 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002031/0.213, allocations: 0.5168 MB / 0.7688 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.2145, allocations: 454.5 kB / 0.7692 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001809/0.2163, allocations: 1.228 MB / 0.7704 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008711/0.2171, allocations: 0.5333 MB / 0.7709 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006839/0.2178, allocations: 474.3 kB / 0.7714 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00076/0.2186, allocations: 0.5604 MB / 0.7719 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.2187, allocations: 68 kB / 0.772 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008614/0.2195, allocations: 391.2 kB / 0.7724 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000355/0.2199, allocations: 319.1 kB / 0.7727 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004737/0.2204, allocations: 449.7 kB / 0.7731 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001576/0.222, allocations: 1.226 MB / 0.7743 GB, free: 456 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.222, allocations: 0 / 0.7743 GB, free: 456 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.452e-06/0.222, allocations: 0 / 0.7743 GB, free: 456 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.362e-05/0.222, allocations: 0 / 0.7743 GB, free: 456 kB / 0.5762 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.002131/0.2241, allocations: 1.197 MB / 0.7755 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.2241, allocations: 11.97 kB / 0.7755 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001512/0.2243, allocations: 122.7 kB / 0.7756 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/0.2258, allocations: 244.1 kB / 0.7758 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.227, allocations: 0.6043 MB / 0.7764 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.497e-05/0.227, allocations: 45.69 kB / 0.7764 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.2271, allocations: 68.3 kB / 0.7765 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.2287, allocations: 1.087 MB / 0.7776 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/0.2287, allocations: 11.94 kB / 0.7776 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.059e-05/0.2288, allocations: 24 kB / 0.7776 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000167/0.229, allocations: 85.25 kB / 0.7777 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.2301, allocations: 0.7504 MB / 0.7784 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006444/0.2366, allocations: 5.89 MB / 0.7842 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.2377, allocations: 0.5102 MB / 0.7847 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004423/0.2381, allocations: 282 kB / 0.7849 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.2381, allocations: 4.438 kB / 0.7849 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.2382, allocations: 42.94 kB / 0.785 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 2.334e-06/0.2382, allocations: 0 / 0.785 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.004079/0.2422, allocations: 1.988 MB / 0.7869 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.2423, allocations: 55.84 kB / 0.787 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008161/0.2431, allocations: 0.5703 MB / 0.7875 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.907e-05/0.2432, allocations: 37.7 kB / 0.7876 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003487/0.2435, allocations: 428 kB / 0.788 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.2437, allocations: 182.5 kB / 0.7882 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.2439, allocations: 126.6 kB / 0.7883 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002073/0.2441, allocations: 374.8 kB / 0.7886 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004365/0.2445, allocations: 277.8 kB / 0.7889 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006153/0.2451, allocations: 489 kB / 0.7894 GB, free: 100 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.2463, allocations: 0.8132 MB / 0.7902 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2463, allocations: 0 / 0.7902 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002021/0.2484, allocations: 1.083 MB / 0.7912 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.2484, allocations: 8 kB / 0.7912 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.2484, allocations: 4 kB / 0.7912 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008803/0.2493, allocations: 291.9 kB / 0.7915 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004904/0.2498, allocations: 127.8 kB / 0.7916 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007662/0.2574, allocations: 7.128 MB / 0.7986 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006778/0.2581, allocations: 43.95 kB / 0.7986 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.333e-05/0.2581, allocations: 28 kB / 0.7987 GB, free: 5.887 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.0004241/0.2586, allocations: 253.6 kB / 0.7989 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.2587, allocations: 71.58 kB / 0.799 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/0.2603, allocations: 0.8885 MB / 0.7998 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.2603, allocations: 4 kB / 0.7998 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.2603, allocations: 4 kB / 0.7998 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.2603, allocations: 3.984 kB / 0.7998 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00288/0.2632, allocations: 1.72 MB / 0.8015 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.2632, allocations: 4 kB / 0.8015 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.2635, allocations: 63.88 kB / 0.8016 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007827/0.2643, allocations: 279.5 kB / 0.8019 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.2643, allocations: 8.062 kB / 0.8019 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007318/0.2716, allocations: 7.122 MB / 0.8088 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.331e-06/0.2716, allocations: 3.938 kB / 0.8088 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.2733, allocations: 0.9799 MB / 0.8098 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003504/0.2736, allocations: 196.6 kB / 0.81 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.651e-05/0.2737, allocations: 8 kB / 0.81 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.2741, allocations: 27.97 kB / 0.81 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.2742, allocations: 51.95 kB / 0.8101 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.2743, allocations: 16 kB / 0.8101 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004763/0.2747, allocations: 387.1 kB / 0.8104 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6e-08/0.2747, allocations: 0 / 0.8104 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008076/0.2755, allocations: 228 kB / 0.8107 GB, free: 8.844 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.001913/0.2775, allocations: 1.541 MB / 0.8122 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002158/0.2796, allocations: 1.236 MB / 0.8134 GB, free: 5.957 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.2796, allocations: 0 / 0.8134 GB, free: 5.957 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001347/0.281, allocations: 0.8619 MB / 0.8142 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.2821, allocations: 222.7 kB / 0.8144 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009582/0.2917, allocations: 6.392 MB / 0.8207 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007481/0.2924, allocations: 1.017 MB / 0.8217 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000434/0.2928, allocations: 122 kB / 0.8218 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003273/0.2932, allocations: 255.3 kB / 0.822 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of SimCode: time 7.71e-07/0.2932, allocations: 0 / 0.822 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05982/0.353, allocations: 17.6 MB / 0.8392 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.26, allocations: 13.55 kB / 0.8392 GB, free: 11.37 MB / 0.6544 GB " [Timeout remaining time 649] (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 --stepSize=0.0004 --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: 15.612371901981533] Failed to read output from testmodel.py, exit status != 0: 11.361076519824564 11.680886647 11.158910333 Calling exit ...