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.001847/0.001847, allocations: 78.58 kB / 19.01 MB, free: 2.859 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.442/1.442, allocations: 177.2 MB / 199.3 MB, free: 9.484 MB / 190.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.002514/0.002514, allocations: 161.4 kB / 255.8 MB, free: 0.9219 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.4452/0.4452, allocations: 80.31 MB / 392.5 MB, free: 8.379 MB / 318.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.002565/0.002565, allocations: 92.59 kB / 0.5546 GB, free: 4.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3833, allocations: 80.13 MB / 0.6328 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO): time 0.006116/0.3894, allocations: 5.835 MB / 0.6385 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003966/0.3934, allocations: 1.915 MB / 0.6404 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008679/0.3943, allocations: 9.531 kB / 0.6404 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006507/0.3949, allocations: 237.1 kB / 0.6406 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001931/0.3968, allocations: 0.6303 MB / 0.6413 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.3988, allocations: 0.7495 MB / 0.642 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00256/0.4014, allocations: 1.511 MB / 0.6435 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004213/0.4018, allocations: 197.9 kB / 0.6437 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001582/0.4034, allocations: 0.9034 MB / 0.6445 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.4046, allocations: 0.719 MB / 0.6452 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002183/0.4048, allocations: 119.2 kB / 0.6454 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005458/0.4053, allocations: 232 kB / 0.6456 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003036/0.4056, allocations: 309.7 kB / 0.6459 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005949/0.4062, allocations: 0.5318 MB / 0.6464 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002456/0.4087, allocations: 1.624 MB / 0.648 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.4087, allocations: 0 / 0.648 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4087, allocations: 0.9375 kB / 0.648 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.143e-05/0.4087, allocations: 0 / 0.648 GB, free: 11.82 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.01022/0.4189, allocations: 2.612 MB / 0.6505 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.419, allocations: 13.3 kB / 0.6505 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002005/0.4192, allocations: 128.4 kB / 0.6507 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004642/0.4238, allocations: 0.6979 MB / 0.6514 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/0.4257, allocations: 0.7451 MB / 0.6521 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005984/0.4263, allocations: 451.6 kB / 0.6525 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001966/0.4265, allocations: 77.11 kB / 0.6526 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002912/0.4294, allocations: 1.208 MB / 0.6538 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.4294, allocations: 5.531 kB / 0.6538 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.4295, allocations: 30.28 kB / 0.6538 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.4295, allocations: 17.28 kB / 0.6538 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002943/0.4325, allocations: 1.165 MB / 0.6549 GB, free: 7.688 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.007034/0.4395, allocations: 2.948 MB / 0.6578 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007748/0.4472, allocations: 2.03 MB / 0.6598 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002008/0.4493, allocations: 0.7461 MB / 0.6605 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/0.4494, allocations: 15.98 kB / 0.6606 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/0.4494, allocations: 49.41 kB / 0.6606 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=100): time 3.266e-06/0.4494, allocations: 0 / 0.6606 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100): time 0.04011/0.4896, allocations: 8.988 MB / 0.6694 GB, free: 15.75 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.259e-05/0.4896, allocations: 88.61 kB / 0.6695 GB, free: 15.66 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.4913, allocations: 0.9213 MB / 0.6704 GB, free: 15.13 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0003171/0.4917, allocations: 46.17 kB / 0.6704 GB, free: 15.09 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004275/0.4921, allocations: 481.4 kB / 0.6709 GB, free: 14.66 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005212/0.4926, allocations: 371.3 kB / 0.6712 GB, free: 14.34 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003879/0.493, allocations: 164.4 kB / 0.6714 GB, free: 14.24 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4932, allocations: 347.4 kB / 0.6717 GB, free: 13.91 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001807/0.495, allocations: 0.7012 MB / 0.6724 GB, free: 13.56 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001889/0.4969, allocations: 0.8529 MB / 0.6732 GB, free: 13.06 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003707/0.5006, allocations: 1.575 MB / 0.6748 GB, free: 12.19 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.5006, allocations: 1.094 kB / 0.6748 GB, free: 12.19 MB / 0.5138 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01682/0.5174, allocations: 4.566 MB / 0.6792 GB, free: 7.977 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 4.288e-05/0.5174, allocations: 12.3 kB / 0.6792 GB, free: 7.965 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/0.5175, allocations: 11.98 kB / 0.6792 GB, free: 7.953 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008495/0.526, allocations: 2.28 MB / 0.6815 GB, free: 5.668 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009505/0.5269, allocations: 163.7 kB / 0.6816 GB, free: 5.508 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03091/0.5578, allocations: 10.76 MB / 0.6921 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/0.5597, allocations: 183.2 kB / 0.6923 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.5598, allocations: 35.98 kB / 0.6923 GB, free: 10.42 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.0005231/0.5603, allocations: 241.6 kB / 0.6926 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/0.5606, allocations: 123.2 kB / 0.6927 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01644/0.5771, allocations: 4.482 MB / 0.6971 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/0.5771, allocations: 11.98 kB / 0.6971 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.5771, allocations: 0 / 0.6971 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.509e-05/0.5771, allocations: 7.984 kB / 0.6971 GB, free: 5.527 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.0187/0.5958, allocations: 5.51 MB / 0.7025 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/0.5958, allocations: 0 / 0.7025 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006604/0.5965, allocations: 107.9 kB / 0.7026 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008165/0.6046, allocations: 2.167 MB / 0.7047 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000184/0.6048, allocations: 19.98 kB / 0.7047 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02769/0.6325, allocations: 9.525 MB / 0.714 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.6325, allocations: 0 / 0.714 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01887/0.6514, allocations: 5.597 MB / 0.7195 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005202/0.6519, allocations: 143 kB / 0.7196 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.6521, allocations: 20 kB / 0.7196 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.6534, allocations: 119.8 kB / 0.7197 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008725/0.6543, allocations: 248.5 kB / 0.72 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.73e-05/0.6543, allocations: 28 kB / 0.72 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009817/0.6553, allocations: 0.6309 MB / 0.7206 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6553, allocations: 4 kB / 0.7206 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001449/0.6568, allocations: 455.7 kB / 0.7211 GB, free: 12.75 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.01953/0.6763, allocations: 6.163 MB / 0.7271 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009026/0.6853, allocations: 2.547 MB / 0.7296 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.6853, allocations: 0 / 0.7296 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006735/0.6921, allocations: 1.736 MB / 0.7313 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.6933, allocations: 104.3 kB / 0.7314 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04585/0.7391, allocations: 16.19 MB / 0.7472 GB, free: 1.707 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006102/0.7397, allocations: 0.5012 MB / 0.7477 GB, free: 1.164 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0004828/0.7402, allocations: 91.05 kB / 0.7478 GB, free: 1.07 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006241/0.7408, allocations: 440.3 kB / 0.7482 GB, free: 0.6406 MB / 0.5763 GB Notification: Performance of SimCode: time 1.743e-06/0.7408, allocations: 0 / 0.7482 GB, free: 0.6406 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1286/0.8695, allocations: 40.87 MB / 0.7881 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/15.53, allocations: 15.22 kB / 0.7881 GB, free: 7.898 MB / 0.6231 GB " [Timeout remaining time 644] (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.928368255961686] Failed to read output from testmodel.py, exit status != 0: 15.673732690047473 15.703012243 15.289097383 Calling exit ...