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.001306/0.001306, allocations: 107.6 kB / 16.45 MB, free: 6.504 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.001326/0.001326, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.454/1.454, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.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.062/1.062, allocations: 175.8 MB / 478.4 MB, free: 8.57 MB / 382.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.00212/0.00212, allocations: 68.27 kB / 0.6652 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1979, allocations: 94.53 MB / 0.7575 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.4127/0.6106, allocations: 6.241 MB / 0.7636 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004899/0.6155, allocations: 3.205 MB / 0.7667 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006835/0.6162, allocations: 30.03 kB / 0.7668 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002309/0.6185, allocations: 0.9459 MB / 0.7677 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00139/0.6199, allocations: 494.6 kB / 0.7682 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.6213, allocations: 0.4969 MB / 0.7687 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001674/0.623, allocations: 1.097 MB / 0.7697 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009047/0.6239, allocations: 0.5097 MB / 0.7702 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007889/0.6247, allocations: 443.7 kB / 0.7706 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000695/0.6254, allocations: 0.4941 MB / 0.7711 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.6255, allocations: 58.62 kB / 0.7712 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.6266, allocations: 0.4921 MB / 0.7717 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003265/0.6269, allocations: 302.2 kB / 0.772 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003928/0.6273, allocations: 405.1 kB / 0.7723 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001913/0.6292, allocations: 1.188 MB / 0.7735 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.6292, allocations: 3.406 kB / 0.7735 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6292, allocations: 0 / 0.7735 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.726e-05/0.6293, allocations: 0 / 0.7735 GB, free: 1.754 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001675/0.6309, allocations: 1.081 MB / 0.7746 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.631, allocations: 10.41 kB / 0.7746 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/0.6311, allocations: 123.3 kB / 0.7747 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.6326, allocations: 218.2 kB / 0.7749 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.6336, allocations: 0.6049 MB / 0.7755 GB, free: 448 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.6337, allocations: 45.7 kB / 0.7755 GB, free: 428 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.6338, allocations: 66.61 kB / 0.7756 GB, free: 404 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.6353, allocations: 1.028 MB / 0.7766 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.699e-05/0.6354, allocations: 11.52 kB / 0.7766 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.126e-05/0.6355, allocations: 30.98 kB / 0.7766 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/0.6356, allocations: 71.55 kB / 0.7767 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.6368, allocations: 0.6921 MB / 0.7774 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006641/0.6434, allocations: 5.728 MB / 0.783 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009085/0.6443, allocations: 0.5615 MB / 0.7835 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007819/0.6451, allocations: 384.3 kB / 0.7839 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.106e-05/0.6452, allocations: 8.766 kB / 0.7839 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.6452, allocations: 35.62 kB / 0.7839 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=41): time 2.154e-06/0.6452, allocations: 3.938 kB / 0.7839 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.004406/0.6496, allocations: 2.017 MB / 0.7859 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.6496, allocations: 60.22 kB / 0.786 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006068/0.6503, allocations: 462.6 kB / 0.7864 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.6503, allocations: 30.73 kB / 0.7864 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003461/0.6506, allocations: 400.1 kB / 0.7868 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.6508, allocations: 155.9 kB / 0.787 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.651, allocations: 112.3 kB / 0.7871 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002113/0.6512, allocations: 365.6 kB / 0.7874 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004111/0.6516, allocations: 241.9 kB / 0.7876 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006523/0.6523, allocations: 460 kB / 0.7881 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.6535, allocations: 0.7486 MB / 0.7888 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.6535, allocations: 2.188 kB / 0.7888 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002459/0.656, allocations: 1.03 MB / 0.7898 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.656, allocations: 8.453 kB / 0.7898 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.656, allocations: 11.12 kB / 0.7898 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.657, allocations: 324.5 kB / 0.7902 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.6573, allocations: 98.5 kB / 0.7902 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00825/0.6656, allocations: 7.479 MB / 0.7976 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000594/0.6662, allocations: 28.91 kB / 0.7976 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/0.6662, allocations: 28.34 kB / 0.7976 GB, free: 15.95 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.0004936/0.6667, allocations: 247.6 kB / 0.7978 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.6668, allocations: 66.36 kB / 0.7979 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001847/0.6687, allocations: 0.8764 MB / 0.7988 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.6687, allocations: 5.312 kB / 0.7988 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.6687, allocations: 3.594 kB / 0.7988 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.6687, allocations: 4.484 kB / 0.7988 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002999/0.6717, allocations: 1.671 MB / 0.8004 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.6717, allocations: 1.406 kB / 0.8004 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.6719, allocations: 41.5 kB / 0.8004 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009898/0.6729, allocations: 315.1 kB / 0.8007 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/0.6729, allocations: 7.25 kB / 0.8008 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008073/0.681, allocations: 7.466 MB / 0.808 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.681, allocations: 6.688 kB / 0.8081 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.6827, allocations: 0.9763 MB / 0.809 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003408/0.6831, allocations: 177.2 kB / 0.8092 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.713e-05/0.6831, allocations: 9.188 kB / 0.8092 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.6834, allocations: 27.47 kB / 0.8092 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.6836, allocations: 44.08 kB / 0.8093 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.6836, allocations: 13.69 kB / 0.8093 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003742/0.684, allocations: 311.7 kB / 0.8096 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.684, allocations: 0 / 0.8096 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008261/0.6848, allocations: 198.4 kB / 0.8098 GB, free: 7.18 MB / 0.6075 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.002056/0.6868, allocations: 1.537 MB / 0.8113 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002014/0.6889, allocations: 1.153 MB / 0.8124 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6889, allocations: 0 / 0.8124 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.6901, allocations: 0.8282 MB / 0.8132 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000979/0.6911, allocations: 200.4 kB / 0.8134 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.7026, allocations: 5.887 MB / 0.8191 GB, free: 420 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/0.7036, allocations: 0.9961 MB / 0.8201 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004525/0.7041, allocations: 103.1 kB / 0.8202 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004409/0.7045, allocations: 227 kB / 0.8204 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of SimCode: time 1.312e-06/0.7045, allocations: 0 / 0.8204 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07819/0.7827, allocations: 15.49 MB / 0.8355 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.66, allocations: 16.92 kB / 0.8356 GB, free: 6.141 MB / 0.6231 GB " [Timeout remaining time 648] (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 --stepSize=0.0004 --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: 15.574887655675411] Failed to read output from testmodel.py, exit status != 0: 11.774390045087785 11.788420026 11.156179011 Calling exit ...