Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.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.001381/0.001381, allocations: 103.2 kB / 16.45 MB, free: 6.449 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.499/1.499, allocations: 230.6 MB / 249.8 MB, free: 9.242 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.001562/0.001562, allocations: 204.7 kB / 306 MB, free: 4.301 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.5844/0.5844, allocations: 101.3 MB / 463.4 MB, free: 11.91 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.VSourceIO,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO",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.002622/0.002622, allocations: 79.89 kB / 0.6193 GB, free: 15.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1498, allocations: 78.57 MB / 0.696 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO): time 0.3071/0.4569, allocations: 6.642 MB / 0.7025 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004332/0.4612, allocations: 1.997 MB / 0.7045 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008466/0.4621, allocations: 9.594 kB / 0.7045 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006068/0.4627, allocations: 256.5 kB / 0.7047 GB, free: 3.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.4642, allocations: 0.6388 MB / 0.7054 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.4658, allocations: 0.7644 MB / 0.7061 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001768/0.4675, allocations: 1.508 MB / 0.7076 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003539/0.4679, allocations: 209.3 kB / 0.7078 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008007/0.4687, allocations: 0.6204 MB / 0.7084 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008299/0.4695, allocations: 0.7996 MB / 0.7092 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.4697, allocations: 117.4 kB / 0.7093 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004676/0.4702, allocations: 241 kB / 0.7095 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.4704, allocations: 310.8 kB / 0.7098 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004509/0.4708, allocations: 0.646 MB / 0.7104 GB, free: 448 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.4727, allocations: 1.608 MB / 0.712 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4727, allocations: 0 / 0.712 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4727, allocations: 0 / 0.712 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.372e-05/0.4727, allocations: 0 / 0.712 GB, free: 15.71 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.009849/0.4826, allocations: 2.694 MB / 0.7146 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.4826, allocations: 9.844 kB / 0.7146 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001958/0.4828, allocations: 126.8 kB / 0.7148 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004659/0.4875, allocations: 0.6957 MB / 0.7154 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.4891, allocations: 0.8135 MB / 0.7162 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000437/0.4895, allocations: 353.2 kB / 0.7166 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/0.4897, allocations: 79.66 kB / 0.7166 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002837/0.4925, allocations: 1.201 MB / 0.7178 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.4925, allocations: 9 kB / 0.7178 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.4926, allocations: 25.75 kB / 0.7179 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.4927, allocations: 18.84 kB / 0.7179 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00317/0.4958, allocations: 1.166 MB / 0.719 GB, free: 12.48 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.007992/0.5038, allocations: 3.806 MB / 0.7227 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009118/0.5129, allocations: 2.484 MB / 0.7252 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002448/0.5154, allocations: 0.75 MB / 0.7259 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000156/0.5155, allocations: 21.55 kB / 0.7259 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.474e-05/0.5156, allocations: 50.28 kB / 0.726 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=100): time 3.667e-06/0.5156, allocations: 3.938 kB / 0.726 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100): time 0.04226/0.5579, allocations: 9.066 MB / 0.7348 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.731e-05/0.558, allocations: 91.67 kB / 0.7349 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.5595, allocations: 0.9128 MB / 0.7358 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003335/0.5599, allocations: 42.08 kB / 0.7358 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004272/0.5603, allocations: 481.2 kB / 0.7363 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005082/0.5608, allocations: 368.1 kB / 0.7366 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004259/0.5612, allocations: 172.1 kB / 0.7368 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.5614, allocations: 342.4 kB / 0.7371 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001928/0.5633, allocations: 0.7062 MB / 0.7378 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002079/0.5654, allocations: 0.8526 MB / 0.7387 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003973/0.5694, allocations: 1.577 MB / 0.7402 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.5694, allocations: 1.062 kB / 0.7402 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01785/0.5872, allocations: 4.567 MB / 0.7447 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.5873, allocations: 6.781 kB / 0.7447 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.5873, allocations: 4.312 kB / 0.7447 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009304/0.5966, allocations: 2.289 MB / 0.7469 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000922/0.5975, allocations: 159.7 kB / 0.7471 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03298/0.6305, allocations: 11.11 MB / 0.7579 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/0.6325, allocations: 183.2 kB / 0.7581 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.6326, allocations: 43.98 kB / 0.7581 GB, free: 1.836 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (87): * Single equations (assignments): 86 * 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.0005378/0.6332, allocations: 229.7 kB / 0.7583 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003153/0.6335, allocations: 123.2 kB / 0.7585 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01727/0.6508, allocations: 4.474 MB / 0.7628 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-05/0.6508, allocations: 12 kB / 0.7628 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6508, allocations: 0 / 0.7628 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.598e-05/0.6508, allocations: 7.969 kB / 0.7628 GB, free: 12.96 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.02019/0.671, allocations: 6.161 MB / 0.7689 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.548e-05/0.671, allocations: 0 / 0.7689 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007813/0.6718, allocations: 107.9 kB / 0.769 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008423/0.6802, allocations: 2.168 MB / 0.7711 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002447/0.6805, allocations: 23.98 kB / 0.7711 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02966/0.7102, allocations: 9.857 MB / 0.7807 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.7102, allocations: 4 kB / 0.7807 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01997/0.7301, allocations: 5.597 MB / 0.7862 GB, free: 4.738 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005014/0.7306, allocations: 216.1 kB / 0.7864 GB, free: 4.508 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/0.7309, allocations: 16 kB / 0.7864 GB, free: 4.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.7322, allocations: 123.8 kB / 0.7865 GB, free: 4.371 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008728/0.7331, allocations: 240.6 kB / 0.7868 GB, free: 4.133 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.135e-05/0.7332, allocations: 24.81 kB / 0.7868 GB, free: 4.109 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000981/0.7341, allocations: 0.631 MB / 0.7874 GB, free: 3.469 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7341, allocations: 0 / 0.7874 GB, free: 3.469 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001566/0.7357, allocations: 455.7 kB / 0.7878 GB, free: 3.023 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 (62): * Single equations (assignments): 61 * 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.02042/0.7561, allocations: 6.17 MB / 0.7939 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009234/0.7654, allocations: 2.552 MB / 0.7964 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.7654, allocations: 0 / 0.7964 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006748/0.7721, allocations: 1.741 MB / 0.7981 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.7733, allocations: 107.2 kB / 0.7982 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04878/0.8221, allocations: 16.18 MB / 0.814 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008416/0.823, allocations: 1.099 MB / 0.815 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004511/0.8234, allocations: 91.05 kB / 0.8151 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006451/0.8241, allocations: 435.3 kB / 0.8155 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of SimCode: time 8.31e-07/0.8241, allocations: 0 / 0.8155 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08665/0.9107, allocations: 38.82 MB / 0.8534 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/15.23, allocations: 16.22 kB / 0.8535 GB, free: 15.63 MB / 0.6231 GB " [Timeout remaining time 645] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_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_VSourceIO.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.755346507998183] Failed to read output from testmodel.py, exit status != 0: 15.345532905077562 15.36350194 14.887016937 Calling exit ...