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.001806/0.001806, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.462/1.462, allocations: 230.6 MB / 252.7 MB, free: 8.086 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.001583/0.001583, allocations: 218.4 kB / 309.2 MB, free: 2.941 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.5913/0.5913, allocations: 107.2 MB / 472.8 MB, free: 4.484 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.002571/0.002571, allocations: 83.86 kB / 0.633 GB, free: 5.023 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4073, allocations: 80.15 MB / 0.7113 GB, free: 4.27 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO): time 0.006346/0.4137, allocations: 5.846 MB / 0.717 GB, free: 324 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004546/0.4182, allocations: 1.909 MB / 0.7189 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.4193, allocations: 8.969 kB / 0.7189 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009904/0.4202, allocations: 239.6 kB / 0.7191 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002377/0.4226, allocations: 0.6366 MB / 0.7197 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.4248, allocations: 0.7492 MB / 0.7205 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002031/0.4268, allocations: 1.506 MB / 0.7219 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003934/0.4272, allocations: 196.9 kB / 0.7221 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009294/0.4282, allocations: 0.6252 MB / 0.7227 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009937/0.4291, allocations: 0.7194 MB / 0.7234 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001709/0.4293, allocations: 119.2 kB / 0.7236 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004883/0.4298, allocations: 231.1 kB / 0.7238 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003106/0.4301, allocations: 312.2 kB / 0.7241 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005563/0.4307, allocations: 0.528 MB / 0.7246 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.4327, allocations: 1.621 MB / 0.7262 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4327, allocations: 0.625 kB / 0.7262 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4327, allocations: 3.938 kB / 0.7262 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.402e-05/0.4327, allocations: 0 / 0.7262 GB, free: 11.29 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.009502/0.4422, allocations: 2.625 MB / 0.7287 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.4423, allocations: 10.25 kB / 0.7288 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002183/0.4425, allocations: 126.1 kB / 0.7289 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004511/0.447, allocations: 0.695 MB / 0.7295 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/0.4487, allocations: 0.7452 MB / 0.7303 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005749/0.4492, allocations: 455 kB / 0.7307 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/0.4494, allocations: 77.73 kB / 0.7308 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003415/0.4528, allocations: 1.211 MB / 0.732 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.4529, allocations: 3.984 kB / 0.732 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.453, allocations: 32.02 kB / 0.732 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.453, allocations: 21.38 kB / 0.732 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00301/0.456, allocations: 1.162 MB / 0.7332 GB, free: 7.883 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.007421/0.4634, allocations: 2.943 MB / 0.736 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007829/0.4713, allocations: 2.034 MB / 0.738 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002064/0.4733, allocations: 0.7526 MB / 0.7388 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.4734, allocations: 19.89 kB / 0.7388 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.4735, allocations: 45.12 kB / 0.7388 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=100): time 3.116e-06/0.4735, allocations: 0 / 0.7388 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100): time 0.04042/0.5139, allocations: 8.984 MB / 0.7476 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/0.514, allocations: 88.95 kB / 0.7477 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/0.5156, allocations: 0.9135 MB / 0.7486 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002719/0.5159, allocations: 46.08 kB / 0.7486 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004371/0.5163, allocations: 484.9 kB / 0.7491 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004735/0.5168, allocations: 372.8 kB / 0.7494 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003896/0.5172, allocations: 167.3 kB / 0.7496 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.5173, allocations: 348.3 kB / 0.7499 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001869/0.5192, allocations: 0.7 MB / 0.7506 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00197/0.5212, allocations: 0.8487 MB / 0.7514 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003865/0.5251, allocations: 1.578 MB / 0.753 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.5251, allocations: 0 / 0.753 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01739/0.5424, allocations: 4.566 MB / 0.7574 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.5425, allocations: 11.98 kB / 0.7574 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.5425, allocations: 8.25 kB / 0.7575 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008751/0.5512, allocations: 2.284 MB / 0.7597 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008978/0.5521, allocations: 155.8 kB / 0.7598 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03255/0.5847, allocations: 10.77 MB / 0.7703 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.5866, allocations: 179.3 kB / 0.7705 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/0.5867, allocations: 35.98 kB / 0.7705 GB, free: 10.12 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.0005565/0.5873, allocations: 237.6 kB / 0.7708 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003087/0.5876, allocations: 127.2 kB / 0.7709 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01705/0.6046, allocations: 4.478 MB / 0.7753 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.6046, allocations: 12 kB / 0.7753 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.6047, allocations: 0 / 0.7753 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-05/0.6047, allocations: 3.984 kB / 0.7753 GB, free: 5.242 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.0196/0.6243, allocations: 5.51 MB / 0.7807 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/0.6243, allocations: 4 kB / 0.7807 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006828/0.625, allocations: 111.8 kB / 0.7808 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008478/0.6335, allocations: 2.167 MB / 0.7829 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002186/0.6337, allocations: 19.98 kB / 0.7829 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02801/0.6617, allocations: 9.525 MB / 0.7922 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6617, allocations: 0 / 0.7922 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01982/0.6815, allocations: 5.593 MB / 0.7977 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005952/0.6821, allocations: 143 kB / 0.7978 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002296/0.6823, allocations: 20 kB / 0.7978 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/0.6837, allocations: 123.8 kB / 0.7979 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008289/0.6845, allocations: 252.6 kB / 0.7982 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-05/0.6846, allocations: 35.92 kB / 0.7982 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009761/0.6856, allocations: 0.6232 MB / 0.7988 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6856, allocations: 0 / 0.7988 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001447/0.687, allocations: 463.7 kB / 0.7993 GB, free: 12.45 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.02014/0.7072, allocations: 6.159 MB / 0.8053 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009061/0.7162, allocations: 2.543 MB / 0.8078 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.7162, allocations: 0 / 0.8078 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006599/0.7228, allocations: 1.743 MB / 0.8095 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.7239, allocations: 106.5 kB / 0.8096 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04715/0.771, allocations: 16.18 MB / 0.8254 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005767/0.7716, allocations: 0.501 MB / 0.8259 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004472/0.7721, allocations: 91.05 kB / 0.8259 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006253/0.7727, allocations: 439.3 kB / 0.8264 GB, free: 352 kB / 0.5762 GB Notification: Performance of SimCode: time 1.292e-06/0.7727, allocations: 7.938 kB / 0.8264 GB, free: 344 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08966/0.8624, allocations: 40.61 MB / 0.866 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/15.13, allocations: 10.11 kB / 0.866 GB, free: 7.875 MB / 0.6231 GB " [Timeout remaining time 645] (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: 18.636961626820266] Failed to read output from testmodel.py, exit status != 0: 15.276967198122293 15.305761263 14.867756278 Calling exit ...