Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.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.002087/0.002087, allocations: 104.4 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.002375/0.002375, 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.524/1.524, allocations: 225.6 MB / 247.8 MB, free: 3.754 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.12/1.12, allocations: 175.7 MB / 478.4 MB, free: 3.41 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.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 67.55 kB / 0.6652 GB, free: 11.28 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1884, allocations: 94.54 MB / 0.7575 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009316/0.1977, allocations: 6.818 MB / 0.7642 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005449/0.2032, allocations: 3.079 MB / 0.7672 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006243/0.2038, allocations: 27.81 kB / 0.7672 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002613/0.2064, allocations: 0.9557 MB / 0.7682 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.2078, allocations: 0.5207 MB / 0.7687 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.209, allocations: 431.6 kB / 0.7691 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00172/0.2108, allocations: 1.22 MB / 0.7703 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009588/0.2117, allocations: 0.5334 MB / 0.7708 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008135/0.2125, allocations: 482.2 kB / 0.7712 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008353/0.2134, allocations: 0.5448 MB / 0.7718 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.2135, allocations: 64 kB / 0.7718 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007767/0.2142, allocations: 391.2 kB / 0.7722 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003277/0.2146, allocations: 323.1 kB / 0.7725 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004684/0.215, allocations: 445.8 kB / 0.7729 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.2165, allocations: 1.222 MB / 0.7741 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.2165, allocations: 0 / 0.7741 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2165, allocations: 0 / 0.7741 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.2165, allocations: 0 / 0.7741 GB, free: 0.5117 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002161/0.2187, allocations: 1.191 MB / 0.7753 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.2187, allocations: 12.03 kB / 0.7753 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001499/0.2189, allocations: 118.7 kB / 0.7754 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.2205, allocations: 248 kB / 0.7757 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.2216, allocations: 0.5965 MB / 0.7762 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.749e-05/0.2217, allocations: 49.66 kB / 0.7763 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.2218, allocations: 64.38 kB / 0.7764 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.2235, allocations: 1.081 MB / 0.7774 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.2235, allocations: 7.938 kB / 0.7774 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.181e-05/0.2236, allocations: 28 kB / 0.7774 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001809/0.2237, allocations: 85.25 kB / 0.7775 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.225, allocations: 0.7504 MB / 0.7783 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006792/0.2318, allocations: 5.879 MB / 0.784 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.2328, allocations: 0.5121 MB / 0.7845 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004312/0.2332, allocations: 286 kB / 0.7848 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.2333, allocations: 4.438 kB / 0.7848 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.2333, allocations: 39 kB / 0.7848 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 2.484e-06/0.2333, allocations: 7.938 kB / 0.7848 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.004115/0.2374, allocations: 1.995 MB / 0.7868 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.2375, allocations: 55.84 kB / 0.7868 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007554/0.2382, allocations: 0.5548 MB / 0.7874 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.218e-05/0.2383, allocations: 33.7 kB / 0.7874 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003584/0.2386, allocations: 432 kB / 0.7878 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.2388, allocations: 178.5 kB / 0.788 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.2391, allocations: 130.5 kB / 0.7881 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002315/0.2393, allocations: 378.7 kB / 0.7885 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004654/0.2397, allocations: 273.9 kB / 0.7887 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006462/0.2404, allocations: 0.4892 MB / 0.7892 GB, free: 192 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.2416, allocations: 0.8016 MB / 0.79 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.2416, allocations: 4 kB / 0.79 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002188/0.2438, allocations: 1.076 MB / 0.791 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.2438, allocations: 11.94 kB / 0.7911 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.2438, allocations: 8 kB / 0.7911 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000914/0.2447, allocations: 279.4 kB / 0.7913 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005001/0.2452, allocations: 127.8 kB / 0.7914 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007824/0.2531, allocations: 7.143 MB / 0.7984 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006783/0.2537, allocations: 35.97 kB / 0.7985 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.2538, allocations: 28 kB / 0.7985 GB, free: 5.988 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.000449/0.2543, allocations: 249.6 kB / 0.7987 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.2545, allocations: 79.53 kB / 0.7988 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.2562, allocations: 0.8768 MB / 0.7997 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.2562, allocations: 4 kB / 0.7997 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.2562, allocations: 4 kB / 0.7997 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.2562, allocations: 7.984 kB / 0.7997 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002935/0.2591, allocations: 1.724 MB / 0.8014 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.2591, allocations: 7.938 kB / 0.8014 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002831/0.2594, allocations: 59.89 kB / 0.8014 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007796/0.2602, allocations: 259.4 kB / 0.8017 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/0.2602, allocations: 12 kB / 0.8017 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007356/0.2676, allocations: 7.131 MB / 0.8086 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.22e-05/0.2676, allocations: 4.031 kB / 0.8086 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.2693, allocations: 0.9721 MB / 0.8096 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004067/0.2697, allocations: 192.6 kB / 0.8098 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.2698, allocations: 23.88 kB / 0.8098 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000392/0.2702, allocations: 27.95 kB / 0.8098 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.2704, allocations: 39.95 kB / 0.8099 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.2704, allocations: 15.94 kB / 0.8099 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005232/0.2709, allocations: 387.1 kB / 0.8103 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2709, allocations: 0 / 0.8103 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008456/0.2718, allocations: 220 kB / 0.8105 GB, free: 8.973 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.001969/0.2737, allocations: 1.545 MB / 0.812 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002215/0.2759, allocations: 1.24 MB / 0.8132 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.2759, allocations: 0 / 0.8132 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001384/0.2773, allocations: 0.8658 MB / 0.814 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.2785, allocations: 212.6 kB / 0.8142 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.2887, allocations: 6.358 MB / 0.8204 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009595/0.2896, allocations: 1.013 MB / 0.8214 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004608/0.2901, allocations: 122 kB / 0.8215 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003782/0.2905, allocations: 251.4 kB / 0.8218 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of SimCode: time 1.082e-06/0.2905, allocations: 4 kB / 0.8218 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0628/0.3533, allocations: 17.48 MB / 0.8389 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.31, allocations: 4.828 kB / 0.8389 GB, free: 11.63 MB / 0.6544 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.865710366982967] Failed to read output from testmodel.py, exit status != 0: 11.401025710161775 11.738968222 11.204393024 Calling exit ...