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.001262/0.001267, allocations: 108.7 kB / 16.4 MB, free: 6.496 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.001301/0.001301, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.494/1.494, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.073/1.073, allocations: 173.4 MB / 470.7 MB, free: 13.61 MB / 382.1 MB " [Timeout remaining time 178] 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.002041/0.002042, allocations: 67.3 kB / 0.6478 GB, free: 11.73 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1986, allocations: 89.52 MB / 0.7353 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008877/0.2075, allocations: 6.722 MB / 0.7418 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005353/0.2129, allocations: 3.047 MB / 0.7448 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006928/0.2136, allocations: 23.88 kB / 0.7448 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002726/0.2164, allocations: 0.9491 MB / 0.7458 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001433/0.2178, allocations: 0.4895 MB / 0.7462 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.219, allocations: 433.7 kB / 0.7466 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001497/0.2205, allocations: 1.224 MB / 0.7478 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.2215, allocations: 0.6583 MB / 0.7485 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006923/0.2222, allocations: 478.3 kB / 0.7489 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007156/0.223, allocations: 0.5098 MB / 0.7494 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.2231, allocations: 64 kB / 0.7495 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008214/0.2239, allocations: 383.2 kB / 0.7499 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003762/0.2243, allocations: 311.1 kB / 0.7502 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004639/0.2248, allocations: 453.7 kB / 0.7506 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.2262, allocations: 1.226 MB / 0.7518 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2263, allocations: 0 / 0.7518 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2263, allocations: 0 / 0.7518 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.2263, allocations: 0 / 0.7518 GB, free: 1.227 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.3639/0.5902, allocations: 1.182 MB / 0.7529 GB, free: 18.58 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.151e-05/0.5903, allocations: 9.062 kB / 0.753 GB, free: 18.58 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003394/0.5906, allocations: 118.1 kB / 0.7531 GB, free: 18.54 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/0.5924, allocations: 243.3 kB / 0.7533 GB, free: 18.51 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009939/0.5934, allocations: 0.5993 MB / 0.7539 GB, free: 18.26 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.111e-05/0.5935, allocations: 49.61 kB / 0.7539 GB, free: 18.26 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.5936, allocations: 60.72 kB / 0.754 GB, free: 18.26 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.5951, allocations: 1.086 MB / 0.755 GB, free: 17.94 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.5951, allocations: 9.438 kB / 0.7551 GB, free: 17.94 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.489e-05/0.5952, allocations: 34.03 kB / 0.7551 GB, free: 17.94 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001638/0.5954, allocations: 88.59 kB / 0.7552 GB, free: 17.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.5965, allocations: 0.7497 MB / 0.7559 GB, free: 17.93 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005011/0.6015, allocations: 5.874 MB / 0.7616 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.6026, allocations: 0.5586 MB / 0.7622 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004426/0.6031, allocations: 326.8 kB / 0.7625 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.314e-05/0.6031, allocations: 4.906 kB / 0.7625 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.6032, allocations: 40.12 kB / 0.7625 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 2.214e-06/0.6032, allocations: 3.609 kB / 0.7625 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.003691/0.6069, allocations: 2.003 MB / 0.7645 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.6069, allocations: 54.47 kB / 0.7646 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006237/0.6075, allocations: 0.5526 MB / 0.7651 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.6076, allocations: 34.95 kB / 0.7651 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.6078, allocations: 432.2 kB / 0.7655 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.6079, allocations: 177.2 kB / 0.7657 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.6081, allocations: 134.8 kB / 0.7658 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.6082, allocations: 377.3 kB / 0.7662 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003729/0.6086, allocations: 273 kB / 0.7665 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/0.6091, allocations: 494.8 kB / 0.7669 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008926/0.61, allocations: 0.806 MB / 0.7677 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.61, allocations: 2.281 kB / 0.7677 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001661/0.6117, allocations: 1.09 MB / 0.7688 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.6117, allocations: 13.39 kB / 0.7688 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.6117, allocations: 6.562 kB / 0.7688 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008307/0.6126, allocations: 276.2 kB / 0.7691 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004794/0.6131, allocations: 132.8 kB / 0.7692 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005588/0.6187, allocations: 7.132 MB / 0.7762 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007787/0.6195, allocations: 39.77 kB / 0.7762 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.543e-05/0.6195, allocations: 27.38 kB / 0.7762 GB, free: 5.785 MB / 0.5762 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.0004142/0.62, allocations: 256 kB / 0.7765 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.6201, allocations: 80.47 kB / 0.7765 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/0.6218, allocations: 0.8888 MB / 0.7774 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.6218, allocations: 8.938 kB / 0.7774 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.6219, allocations: 3.594 kB / 0.7774 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.6219, allocations: 3.141 kB / 0.7774 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/0.6246, allocations: 1.728 MB / 0.7791 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.6247, allocations: 2.734 kB / 0.7791 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002853/0.6249, allocations: 63.84 kB / 0.7792 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008408/0.6258, allocations: 273.9 kB / 0.7794 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/0.6258, allocations: 10.34 kB / 0.7794 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006409/0.6323, allocations: 7.121 MB / 0.7864 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.6323, allocations: 5.141 kB / 0.7864 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/0.6344, allocations: 0.9882 MB / 0.7874 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003349/0.6348, allocations: 189.1 kB / 0.7876 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.888e-05/0.6348, allocations: 16.94 kB / 0.7876 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000386/0.6352, allocations: 34.41 kB / 0.7876 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.6354, allocations: 42.61 kB / 0.7876 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.6354, allocations: 14.45 kB / 0.7877 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005434/0.636, allocations: 385.7 kB / 0.788 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.31e-07/0.636, allocations: 0 / 0.788 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001033/0.637, allocations: 220.8 kB / 0.7882 GB, free: 14.46 MB / 0.5919 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.002187/0.6392, allocations: 1.552 MB / 0.7897 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002519/0.6418, allocations: 1.277 MB / 0.791 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6418, allocations: 1.062 kB / 0.791 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001495/0.6433, allocations: 0.9042 MB / 0.7919 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.6445, allocations: 223.9 kB / 0.7921 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.6563, allocations: 6.36 MB / 0.7983 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007826/0.6571, allocations: 1.007 MB / 0.7993 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005429/0.6577, allocations: 126.9 kB / 0.7994 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003396/0.658, allocations: 250.6 kB / 0.7996 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of SimCode: time 1.002e-06/0.658, allocations: 0 / 0.7996 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06241/0.7204, allocations: 17.36 MB / 0.8166 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.69, allocations: 2.188 kB / 0.8166 GB, free: 15.91 MB / 0.6075 GB " [Timeout remaining time 648] (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.62008449388668] Failed to read output from testmodel.py, exit status != 0: 11.786329932976514 11.801130429 11.572109977 Calling exit ...