Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.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.001268/0.001268, allocations: 110.1 kB / 16.41 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.001296/0.001296, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.426/1.426, 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.068/1.068, allocations: 173.4 MB / 470.6 MB, free: 13.64 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_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 72.28 kB / 0.6478 GB, free: 11.78 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1725, allocations: 89.5 MB / 0.7352 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008401/0.181, allocations: 6.094 MB / 0.7411 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005223/0.1862, allocations: 3.148 MB / 0.7442 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005461/0.1868, allocations: 31.81 kB / 0.7442 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002507/0.1893, allocations: 0.9259 MB / 0.7451 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.1908, allocations: 469.6 kB / 0.7456 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.1921, allocations: 489.8 kB / 0.7461 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001558/0.1937, allocations: 1.096 MB / 0.7471 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.1947, allocations: 0.635 MB / 0.7477 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007577/0.1955, allocations: 434.4 kB / 0.7482 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008102/0.1963, allocations: 474.2 kB / 0.7486 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.1965, allocations: 60 kB / 0.7487 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.1976, allocations: 487 kB / 0.7491 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003625/0.1979, allocations: 291.2 kB / 0.7494 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006229/0.1986, allocations: 394 kB / 0.7498 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.2005, allocations: 1.183 MB / 0.7509 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2005, allocations: 0 / 0.7509 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2005, allocations: 4 kB / 0.7509 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.051e-05/0.2006, allocations: 0 / 0.7509 GB, free: 2.078 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.002231/0.2028, allocations: 1.078 MB / 0.752 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.2029, allocations: 8.031 kB / 0.752 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002202/0.2031, allocations: 118.7 kB / 0.7521 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/0.2048, allocations: 220.2 kB / 0.7523 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3484/0.5532, allocations: 0.5846 MB / 0.7529 GB, free: 18.26 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.935e-05/0.5533, allocations: 42.28 kB / 0.7529 GB, free: 18.26 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002049/0.5535, allocations: 68.19 kB / 0.753 GB, free: 18.26 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.5554, allocations: 1.028 MB / 0.754 GB, free: 17.94 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.302e-05/0.5555, allocations: 9.391 kB / 0.754 GB, free: 17.94 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.582e-05/0.5556, allocations: 29.75 kB / 0.754 GB, free: 17.94 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/0.5557, allocations: 70.75 kB / 0.7541 GB, free: 17.94 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.5574, allocations: 0.6935 MB / 0.7548 GB, free: 17.93 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005824/0.5632, allocations: 5.734 MB / 0.7604 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.5645, allocations: 0.6041 MB / 0.761 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.5658, allocations: 434.3 kB / 0.7614 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.403e-05/0.5658, allocations: 4.422 kB / 0.7614 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.5659, allocations: 35.53 kB / 0.7614 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 3.196e-06/0.5659, allocations: 4.344 kB / 0.7614 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42): time 0.006432/0.5723, allocations: 2.018 MB / 0.7634 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.5724, allocations: 60.56 kB / 0.7635 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004282/0.5728, allocations: 455.6 kB / 0.7639 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.5728, allocations: 32.23 kB / 0.7639 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.573, allocations: 393.4 kB / 0.7643 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.5731, allocations: 159.3 kB / 0.7645 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.5733, allocations: 111 kB / 0.7646 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.71e-05/0.5733, allocations: 369.1 kB / 0.7649 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.5736, allocations: 245 kB / 0.7652 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/0.574, allocations: 449.5 kB / 0.7656 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007118/0.5747, allocations: 0.759 MB / 0.7663 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5747, allocations: 0 / 0.7663 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001709/0.5765, allocations: 1.042 MB / 0.7673 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.5765, allocations: 10.56 kB / 0.7673 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.5765, allocations: 5.469 kB / 0.7674 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009699/0.5775, allocations: 318.4 kB / 0.7677 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/0.5778, allocations: 97.58 kB / 0.7678 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005688/0.5835, allocations: 7.482 MB / 0.7751 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005365/0.5841, allocations: 28.42 kB / 0.7751 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/0.5841, allocations: 30.02 kB / 0.7751 GB, free: 5.793 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 (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.0004131/0.5845, allocations: 242.1 kB / 0.7753 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.908e-05/0.5846, allocations: 65.95 kB / 0.7754 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.5863, allocations: 0.8988 MB / 0.7763 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.5863, allocations: 5.625 kB / 0.7763 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.5863, allocations: 3.031 kB / 0.7763 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-06/0.5863, allocations: 6.312 kB / 0.7763 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002582/0.5889, allocations: 1.676 MB / 0.7779 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.5889, allocations: 5.438 kB / 0.7779 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.5891, allocations: 41.31 kB / 0.778 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009968/0.5901, allocations: 310.6 kB / 0.7783 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.5902, allocations: 7.344 kB / 0.7783 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006408/0.5966, allocations: 7.464 MB / 0.7856 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.5966, allocations: 1.625 kB / 0.7856 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/0.599, allocations: 0.9905 MB / 0.7865 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003427/0.5994, allocations: 179.9 kB / 0.7867 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-05/0.5995, allocations: 10.02 kB / 0.7867 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/0.5997, allocations: 20.39 kB / 0.7867 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.5999, allocations: 47.39 kB / 0.7868 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.432e-05/0.5999, allocations: 13 kB / 0.7868 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003865/0.6003, allocations: 306.8 kB / 0.7871 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6003, allocations: 1.188 kB / 0.7871 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008086/0.6011, allocations: 196.8 kB / 0.7873 GB, free: 14.67 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 (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.002271/0.6034, allocations: 1.532 MB / 0.7888 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002076/0.6055, allocations: 1.197 MB / 0.7899 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6055, allocations: 0 / 0.7899 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.6069, allocations: 0.8692 MB / 0.7908 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.608, allocations: 210.9 kB / 0.791 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00915/0.6171, allocations: 5.85 MB / 0.7967 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007702/0.6179, allocations: 0.9876 MB / 0.7977 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003651/0.6183, allocations: 99.73 kB / 0.7978 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003146/0.6186, allocations: 227.6 kB / 0.798 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of SimCode: time 8.71e-07/0.6186, allocations: 4 kB / 0.798 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07458/0.6932, allocations: 15.26 MB / 0.8129 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/11.17, allocations: 7.25 kB / 0.8129 GB, free: 1.688 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_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_L.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.00201187597122] Failed to read output from testmodel.py, exit status != 0: 11.257585203973576 11.270182552 11.066966314 Calling exit ...