Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 252.6 MB, free: 8.312 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002178/0.002178, allocations: 224.4 kB / 309.2 MB, free: 3.129 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5563/0.5563, allocations: 101.4 MB / 467 MB, free: 10.3 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002542/0.002542, allocations: 79.88 kB / 0.6244 GB, free: 12.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.4372, allocations: 78.61 MB / 0.7012 GB, free: 8.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource): time 0.005888/0.4431, allocations: 6.397 MB / 0.7074 GB, free: 4.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003654/0.4468, allocations: 1.892 MB / 0.7093 GB, free: 3.246 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006886/0.4474, allocations: 9.406 kB / 0.7093 GB, free: 3.246 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005774/0.448, allocations: 242.4 kB / 0.7095 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.4494, allocations: 0.6262 MB / 0.7101 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.4509, allocations: 0.7292 MB / 0.7108 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001964/0.4529, allocations: 1.455 MB / 0.7123 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003625/0.4532, allocations: 210.1 kB / 0.7125 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006677/0.4539, allocations: 0.5995 MB / 0.7131 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008437/0.4547, allocations: 0.766 MB / 0.7138 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001516/0.4549, allocations: 114.2 kB / 0.7139 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000409/0.4553, allocations: 221.6 kB / 0.7141 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.4555, allocations: 301 kB / 0.7144 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004582/0.456, allocations: 0.6166 MB / 0.715 GB, free: 148 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00221/0.4582, allocations: 1.548 MB / 0.7165 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4582, allocations: 0 / 0.7165 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4582, allocations: 0 / 0.7165 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.536e-05/0.4582, allocations: 4 kB / 0.7165 GB, free: 15.44 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.008835/0.4671, allocations: 2.543 MB / 0.719 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.4671, allocations: 11.41 kB / 0.719 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001732/0.4673, allocations: 120 kB / 0.7191 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004139/0.4714, allocations: 0.6915 MB / 0.7198 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.4729, allocations: 0.7232 MB / 0.7205 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004617/0.4733, allocations: 454 kB / 0.7209 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.4735, allocations: 71.91 kB / 0.721 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/0.4759, allocations: 1.159 MB / 0.7221 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.4759, allocations: 0.7812 kB / 0.7222 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.476, allocations: 30.22 kB / 0.7222 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.476, allocations: 21.41 kB / 0.7222 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002636/0.4786, allocations: 1.089 MB / 0.7233 GB, free: 12.29 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007312/0.486, allocations: 3.828 MB / 0.727 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007817/0.4938, allocations: 1.958 MB / 0.7289 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/0.4955, allocations: 0.6839 MB / 0.7296 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.4956, allocations: 14.77 kB / 0.7296 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.4957, allocations: 55.19 kB / 0.7296 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=90): time 2.655e-06/0.4957, allocations: 0 / 0.7296 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=90): time 0.03579/0.5314, allocations: 8.414 MB / 0.7379 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/0.5315, allocations: 86.73 kB / 0.7379 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.533, allocations: 0.9201 MB / 0.7388 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002539/0.5333, allocations: 41.3 kB / 0.7389 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004066/0.5337, allocations: 476.6 kB / 0.7393 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004105/0.5341, allocations: 328.6 kB / 0.7397 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000388/0.5345, allocations: 163.9 kB / 0.7398 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.5346, allocations: 342 kB / 0.7401 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.5363, allocations: 0.6661 MB / 0.7408 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001826/0.5381, allocations: 0.813 MB / 0.7416 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003636/0.5417, allocations: 1.499 MB / 0.743 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.5417, allocations: 1.156 kB / 0.743 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01608/0.5578, allocations: 4.474 MB / 0.7474 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.5578, allocations: 6.656 kB / 0.7474 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.5579, allocations: 4.406 kB / 0.7474 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008381/0.5662, allocations: 2.302 MB / 0.7497 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007792/0.567, allocations: 131.3 kB / 0.7498 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03039/0.5974, allocations: 11.02 MB / 0.7606 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.5991, allocations: 167.3 kB / 0.7607 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.5992, allocations: 35.98 kB / 0.7608 GB, free: 2.91 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000516/0.5998, allocations: 230.5 kB / 0.761 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002783/0.6, allocations: 127.2 kB / 0.7611 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01601/0.616, allocations: 4.407 MB / 0.7654 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/0.6161, allocations: 8 kB / 0.7654 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.6161, allocations: 0 / 0.7654 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.038e-05/0.6161, allocations: 3.984 kB / 0.7654 GB, free: 14.11 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01894/0.6351, allocations: 6.002 MB / 0.7713 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/0.6351, allocations: 4 kB / 0.7713 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005261/0.6356, allocations: 79.91 kB / 0.7714 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00799/0.6436, allocations: 2.163 MB / 0.7735 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001888/0.6438, allocations: 16 kB / 0.7735 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02657/0.6704, allocations: 9.771 MB / 0.783 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6704, allocations: 0 / 0.783 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01819/0.6886, allocations: 5.429 MB / 0.7883 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004567/0.689, allocations: 135.1 kB / 0.7885 GB, free: 6.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/0.6892, allocations: 23.88 kB / 0.7885 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.6905, allocations: 107.9 kB / 0.7886 GB, free: 6.102 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007092/0.6912, allocations: 232.6 kB / 0.7888 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-05/0.6913, allocations: 24 kB / 0.7888 GB, free: 5.848 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009103/0.6922, allocations: 0.6269 MB / 0.7894 GB, free: 5.211 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6922, allocations: 4 kB / 0.7894 GB, free: 5.207 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001334/0.6935, allocations: 447.7 kB / 0.7899 GB, free: 4.77 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (gENCLS.delta,gENCLS.eq,gENCLS.omega) * 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 (50): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01828/0.7118, allocations: 5.987 MB / 0.7957 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007966/0.7197, allocations: 2.442 MB / 0.7981 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.7197, allocations: 4.062 kB / 0.7981 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005877/0.7256, allocations: 1.669 MB / 0.7997 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009945/0.7266, allocations: 106.3 kB / 0.7998 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04497/0.7716, allocations: 15.89 MB / 0.8154 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00073/0.7723, allocations: 1.069 MB / 0.8164 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003726/0.7727, allocations: 86.69 kB / 0.8165 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005584/0.7733, allocations: 411.3 kB / 0.8169 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of SimCode: time 1.092e-06/0.7733, allocations: 0 / 0.8169 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09108/0.8643, allocations: 38.56 MB / 0.8545 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.23/19.1, allocations: 14.62 kB / 0.8545 GB, free: 2.344 MB / 0.6075 GB " [Timeout remaining time 641] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.605248317999212] Failed to read output from testmodel.py, exit status != 0: 19.236190757001168 19.268860501 18.804436826 Calling exit ...