Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001411/0.001411, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.466/1.466, allocations: 230.6 MB / 252.6 MB, free: 8.301 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.001711/0.001711, allocations: 213.3 kB / 309.2 MB, free: 3.152 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.6293/0.6293, allocations: 107.2 MB / 472.8 MB, free: 4.746 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO,fileNamePrefix="OpenIPSL_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.002824/0.002824, allocations: 87.88 kB / 0.6331 GB, free: 5.281 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.4485, allocations: 80.15 MB / 0.7114 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO): time 0.006128/0.4546, allocations: 6.667 MB / 0.7179 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00484/0.4595, allocations: 2.006 MB / 0.7199 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.4606, allocations: 9.062 kB / 0.7199 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000848/0.4614, allocations: 255.2 kB / 0.7201 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002479/0.4639, allocations: 0.6421 MB / 0.7207 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.4661, allocations: 0.7657 MB / 0.7215 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00261/0.4687, allocations: 1.515 MB / 0.723 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004483/0.4692, allocations: 212.2 kB / 0.7232 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.4703, allocations: 0.6242 MB / 0.7238 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/0.4717, allocations: 0.7916 MB / 0.7246 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.00021/0.4719, allocations: 120.2 kB / 0.7247 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005391/0.4724, allocations: 241 kB / 0.7249 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003095/0.4727, allocations: 316.1 kB / 0.7252 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006709/0.4734, allocations: 0.6498 MB / 0.7258 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00219/0.4756, allocations: 1.6 MB / 0.7274 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.4756, allocations: 0.5156 kB / 0.7274 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4756, allocations: 2.688 kB / 0.7274 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.143e-05/0.4756, allocations: 3.938 kB / 0.7274 GB, free: 10.24 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.009744/0.4854, allocations: 2.615 MB / 0.73 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.4854, allocations: 9.859 kB / 0.73 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002111/0.4856, allocations: 130.2 kB / 0.7301 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004739/0.4904, allocations: 0.6952 MB / 0.7308 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.4921, allocations: 0.7437 MB / 0.7315 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005029/0.4926, allocations: 449 kB / 0.7319 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001959/0.4928, allocations: 85.7 kB / 0.732 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002713/0.4956, allocations: 1.201 MB / 0.7332 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.4956, allocations: 5.094 kB / 0.7332 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.4957, allocations: 30.86 kB / 0.7332 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.4957, allocations: 18.19 kB / 0.7332 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002818/0.4985, allocations: 1.167 MB / 0.7344 GB, free: 6.914 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.007423/0.5059, allocations: 3.754 MB / 0.738 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007823/0.5138, allocations: 2.042 MB / 0.74 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002098/0.5159, allocations: 0.7495 MB / 0.7408 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.516, allocations: 14.83 kB / 0.7408 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/0.5161, allocations: 44.38 kB / 0.7408 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=100): time 3.066e-06/0.5161, allocations: 0 / 0.7408 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100): time 0.03903/0.5551, allocations: 8.991 MB / 0.7496 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.5552, allocations: 92.7 kB / 0.7497 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.5568, allocations: 0.9127 MB / 0.7506 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002564/0.5571, allocations: 42.39 kB / 0.7506 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004883/0.5576, allocations: 484.6 kB / 0.7511 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005673/0.5582, allocations: 368.4 kB / 0.7514 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000484/0.5586, allocations: 171.7 kB / 0.7516 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.5588, allocations: 347.2 kB / 0.7519 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00185/0.5607, allocations: 0.7087 MB / 0.7526 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001963/0.5626, allocations: 0.8453 MB / 0.7534 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003895/0.5665, allocations: 1.581 MB / 0.755 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.5665, allocations: 0 / 0.755 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01693/0.5835, allocations: 4.57 MB / 0.7595 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.5835, allocations: 4 kB / 0.7595 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.5835, allocations: 4 kB / 0.7595 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008578/0.5921, allocations: 2.288 MB / 0.7617 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008812/0.593, allocations: 155.8 kB / 0.7618 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03062/0.6236, allocations: 11.01 MB / 0.7726 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.6254, allocations: 179.3 kB / 0.7728 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002067/0.6256, allocations: 35.98 kB / 0.7728 GB, free: 8.098 MB / 0.5294 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.0006068/0.6262, allocations: 241.6 kB / 0.773 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003839/0.6266, allocations: 123.2 kB / 0.7731 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01571/0.6423, allocations: 4.478 MB / 0.7775 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.6424, allocations: 15.94 kB / 0.7775 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.6424, allocations: 0 / 0.7775 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.287e-05/0.6424, allocations: 7.922 kB / 0.7775 GB, free: 3.207 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.01913/0.6615, allocations: 6.111 MB / 0.7835 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/0.6615, allocations: 0 / 0.7835 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006843/0.6622, allocations: 119.8 kB / 0.7836 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008025/0.6702, allocations: 2.171 MB / 0.7857 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002635/0.6705, allocations: 24 kB / 0.7858 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02774/0.6982, allocations: 9.755 MB / 0.7953 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6982, allocations: 0 / 0.7953 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01958/0.7178, allocations: 5.593 MB / 0.8008 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005174/0.7183, allocations: 142.9 kB / 0.8009 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004308/0.7188, allocations: 27.94 kB / 0.8009 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001605/0.7204, allocations: 119.8 kB / 0.801 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009486/0.7213, allocations: 248.5 kB / 0.8013 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.7215, allocations: 24 kB / 0.8013 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001216/0.7227, allocations: 0.6271 MB / 0.8019 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7227, allocations: 4 kB / 0.8019 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002033/0.7247, allocations: 459.6 kB / 0.8023 GB, free: 9.508 MB / 0.5606 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.01904/0.7437, allocations: 6.163 MB / 0.8084 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008493/0.7522, allocations: 2.539 MB / 0.8108 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.7522, allocations: 0 / 0.8108 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006269/0.7585, allocations: 1.751 MB / 0.8126 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.7599, allocations: 104.3 kB / 0.8127 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04741/0.8073, allocations: 16.19 MB / 0.8285 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009053/0.8082, allocations: 1.095 MB / 0.8295 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004559/0.8086, allocations: 94.98 kB / 0.8296 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007401/0.8094, allocations: 439.3 kB / 0.83 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.012e-06/0.8094, allocations: 3.938 kB / 0.83 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/0.9124, allocations: 39.79 MB / 0.8689 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.51/16.42, allocations: 9.281 kB / 0.8689 GB, free: 5.109 MB / 0.6231 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO.fmu > OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.074267162010074] Failed to read output from testmodel.py, exit status != 0: 16.56147502618842 16.594006621 16.112299785 Calling exit ...