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.001252/0.001252, allocations: 106.2 kB / 16.4 MB, free: 6.488 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.001384/0.001384, allocations: 192.6 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.415/1.415, allocations: 222.9 MB / 245.1 MB, free: 15.01 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.027/1.027, allocations: 173.4 MB / 470.7 MB, free: 13.63 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.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.002034/0.002034, allocations: 75.62 kB / 0.6478 GB, free: 11.73 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1952, allocations: 89.52 MB / 0.7353 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01296/0.2082, allocations: 6.726 MB / 0.7418 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008121/0.2163, allocations: 3.032 MB / 0.7448 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006593/0.217, allocations: 27.81 kB / 0.7448 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003466/0.2205, allocations: 0.9492 MB / 0.7457 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001938/0.2225, allocations: 0.505 MB / 0.7462 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.2241, allocations: 422.2 kB / 0.7466 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0022/0.2263, allocations: 1.228 MB / 0.7478 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0014/0.2277, allocations: 0.6583 MB / 0.7485 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009447/0.2287, allocations: 474.3 kB / 0.7489 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008628/0.2295, allocations: 0.5137 MB / 0.7494 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.2297, allocations: 68 kB / 0.7495 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007556/0.2304, allocations: 383.2 kB / 0.7499 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00034/0.2308, allocations: 319.1 kB / 0.7502 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000471/0.2313, allocations: 437.8 kB / 0.7506 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.2327, allocations: 1.23 MB / 0.7518 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2328, allocations: 0 / 0.7518 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2328, allocations: 4 kB / 0.7518 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.686e-05/0.2328, allocations: 0 / 0.7518 GB, free: 1.215 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.3988/0.6316, allocations: 1.178 MB / 0.7529 GB, free: 18.58 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.6317, allocations: 9.281 kB / 0.753 GB, free: 18.58 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003205/0.632, allocations: 121.2 kB / 0.7531 GB, free: 18.54 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.6338, allocations: 244 kB / 0.7533 GB, free: 18.51 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009784/0.6348, allocations: 0.5997 MB / 0.7539 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.864e-05/0.6348, allocations: 46.17 kB / 0.7539 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.6349, allocations: 68.39 kB / 0.754 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.6367, allocations: 1.081 MB / 0.7551 GB, free: 17.94 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/0.6368, allocations: 10.56 kB / 0.7551 GB, free: 17.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.647e-05/0.6368, allocations: 32.81 kB / 0.7551 GB, free: 17.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001949/0.637, allocations: 85.55 kB / 0.7552 GB, free: 17.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.6383, allocations: 0.7485 MB / 0.7559 GB, free: 17.92 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004911/0.6432, allocations: 5.876 MB / 0.7616 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009763/0.6442, allocations: 0.555 MB / 0.7622 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004574/0.6447, allocations: 324.3 kB / 0.7625 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.371e-05/0.6447, allocations: 7.688 kB / 0.7625 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.6448, allocations: 40.94 kB / 0.7625 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 2.405e-06/0.6448, allocations: 0 / 0.7625 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.003679/0.6484, allocations: 2.002 MB / 0.7645 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.6485, allocations: 57.36 kB / 0.7646 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006819/0.6492, allocations: 0.5496 MB / 0.7651 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.6492, allocations: 35.39 kB / 0.7651 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002693/0.6495, allocations: 436.6 kB / 0.7655 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.6496, allocations: 179.1 kB / 0.7657 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.6498, allocations: 128.2 kB / 0.7658 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.65, allocations: 374.5 kB / 0.7662 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004146/0.6504, allocations: 273.6 kB / 0.7664 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007213/0.6512, allocations: 0.4892 MB / 0.7669 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.6523, allocations: 0.8056 MB / 0.7677 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.6524, allocations: 7.5 kB / 0.7677 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002181/0.6546, allocations: 1.086 MB / 0.7688 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.6546, allocations: 8.531 kB / 0.7688 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.6546, allocations: 12.91 kB / 0.7688 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009981/0.6556, allocations: 277.7 kB / 0.7691 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000496/0.6561, allocations: 128.5 kB / 0.7692 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005969/0.6621, allocations: 7.133 MB / 0.7762 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007228/0.6629, allocations: 43.02 kB / 0.7762 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.562e-05/0.6629, allocations: 37.83 kB / 0.7762 GB, free: 5.781 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.0004189/0.6634, allocations: 245.7 kB / 0.7765 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.6635, allocations: 85.2 kB / 0.7765 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/0.6652, allocations: 0.8855 MB / 0.7774 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.6652, allocations: 8.469 kB / 0.7774 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.6652, allocations: 4.812 kB / 0.7774 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.6652, allocations: 2.781 kB / 0.7774 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/0.6683, allocations: 1.724 MB / 0.7791 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.6683, allocations: 2.609 kB / 0.7791 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002946/0.6686, allocations: 63.78 kB / 0.7792 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008625/0.6695, allocations: 273.5 kB / 0.7794 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/0.6696, allocations: 11.69 kB / 0.7794 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006902/0.6765, allocations: 7.12 MB / 0.7864 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/0.6765, allocations: 6.062 kB / 0.7864 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.6787, allocations: 0.9837 MB / 0.7874 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004848/0.6792, allocations: 194 kB / 0.7876 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.609e-05/0.6793, allocations: 12.33 kB / 0.7876 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.6797, allocations: 30.31 kB / 0.7876 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.6799, allocations: 49.31 kB / 0.7876 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.6799, allocations: 15.84 kB / 0.7877 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005515/0.6805, allocations: 385 kB / 0.788 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.71e-07/0.6805, allocations: 0 / 0.788 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001176/0.6816, allocations: 220 kB / 0.7882 GB, free: 14.49 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.002627/0.6843, allocations: 1.548 MB / 0.7897 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002715/0.687, allocations: 1.278 MB / 0.791 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/0.687, allocations: 1.406 kB / 0.791 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001514/0.6886, allocations: 0.9057 MB / 0.7919 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.6898, allocations: 222.3 kB / 0.7921 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.701, allocations: 6.364 MB / 0.7983 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008819/0.7019, allocations: 1.007 MB / 0.7993 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004973/0.7024, allocations: 123.2 kB / 0.7994 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004004/0.7028, allocations: 250.4 kB / 0.7996 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of SimCode: time 9.52e-07/0.7029, allocations: 0 / 0.7996 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08763/0.7905, allocations: 17.35 MB / 0.8166 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.48, allocations: 10.5 kB / 0.8166 GB, free: 15.94 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.290821626083925] Failed to read output from testmodel.py, exit status != 0: 11.57696536090225 11.59435663 11.358969992 Calling exit ...