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.001826/0.001826, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.547/1.547, allocations: 230.6 MB / 252.7 MB, free: 14.28 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.001635/0.001635, allocations: 217.9 kB / 309.2 MB, free: 3.133 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.65/0.65, allocations: 107.3 MB / 473 MB, free: 29.74 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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.002538/0.002538, allocations: 86.98 kB / 0.6332 GB, free: 29.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1482, allocations: 80.16 MB / 0.7115 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource): time 0.007338/0.1555, allocations: 5.606 MB / 0.717 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003758/0.1593, allocations: 1.791 MB / 0.7187 GB, free: 40 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004151/0.1597, allocations: 8 kB / 0.7187 GB, free: 32 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005715/0.1603, allocations: 238 kB / 0.719 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.1617, allocations: 0.6173 MB / 0.7196 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.1634, allocations: 0.7091 MB / 0.7203 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001752/0.1652, allocations: 1.451 MB / 0.7217 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003495/0.1655, allocations: 195.8 kB / 0.7219 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007312/0.1662, allocations: 0.603 MB / 0.7225 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009886/0.1672, allocations: 0.6842 MB / 0.7231 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.1674, allocations: 120 kB / 0.7232 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004436/0.1679, allocations: 223.9 kB / 0.7235 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002774/0.1681, allocations: 294.8 kB / 0.7237 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004945/0.1686, allocations: 0.5206 MB / 0.7242 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.1703, allocations: 1.537 MB / 0.7257 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1704, allocations: 3.984 kB / 0.7257 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.296e-06/0.1704, allocations: 4 kB / 0.7257 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.589e-05/0.1704, allocations: 0 / 0.7257 GB, free: 8.816 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.008916/0.1793, allocations: 2.541 MB / 0.7282 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.1793, allocations: 12.03 kB / 0.7282 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001737/0.1795, allocations: 126.4 kB / 0.7284 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004304/0.1838, allocations: 0.686 MB / 0.729 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.1852, allocations: 0.7316 MB / 0.7297 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005036/0.1857, allocations: 448.1 kB / 0.7302 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/0.1859, allocations: 75.98 kB / 0.7302 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002529/0.1884, allocations: 1.168 MB / 0.7314 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.1884, allocations: 0 / 0.7314 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.119e-05/0.1885, allocations: 24 kB / 0.7314 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.1885, allocations: 20 kB / 0.7314 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002677/0.1912, allocations: 1.081 MB / 0.7325 GB, free: 1.715 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.007007/0.1982, allocations: 3.05 MB / 0.7355 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007607/0.2058, allocations: 1.946 MB / 0.7374 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001742/0.2076, allocations: 0.6878 MB / 0.738 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.4e-05/0.2076, allocations: 9 kB / 0.738 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.2077, allocations: 43.56 kB / 0.7381 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=90): time 2.735e-06/0.2077, allocations: 0 / 0.7381 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of matching and sorting (n=90): time 0.03795/0.2456, allocations: 8.42 MB / 0.7463 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.575e-05/0.2457, allocations: 90.05 kB / 0.7464 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.2473, allocations: 0.9133 MB / 0.7473 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001857/0.2474, allocations: 41.7 kB / 0.7473 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004369/0.2479, allocations: 481 kB / 0.7478 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004762/0.2484, allocations: 337 kB / 0.7481 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004136/0.2488, allocations: 154.7 kB / 0.7483 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.2489, allocations: 341.9 kB / 0.7486 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.2507, allocations: 0.6656 MB / 0.7492 GB, free: 384 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001924/0.2526, allocations: 0.8097 MB / 0.75 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003706/0.2564, allocations: 1.506 MB / 0.7515 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.2564, allocations: 0 / 0.7515 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01714/0.2735, allocations: 4.48 MB / 0.7559 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.2735, allocations: 4 kB / 0.7559 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.2735, allocations: 4 kB / 0.7559 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008937/0.2825, allocations: 2.298 MB / 0.7581 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007844/0.2833, allocations: 135.8 kB / 0.7582 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03291/0.3162, allocations: 10.78 MB / 0.7688 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.3179, allocations: 167.3 kB / 0.7689 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001838/0.318, allocations: 36 kB / 0.769 GB, free: 11.91 MB / 0.545 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.0005729/0.3186, allocations: 235.3 kB / 0.7692 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003564/0.319, allocations: 127.1 kB / 0.7693 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01642/0.3354, allocations: 4.411 MB / 0.7736 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.3354, allocations: 8 kB / 0.7736 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.3354, allocations: 4 kB / 0.7736 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.966e-05/0.3354, allocations: 3.984 kB / 0.7736 GB, free: 7.105 MB / 0.545 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.01857/0.354, allocations: 5.393 MB / 0.7789 GB, free: 1.656 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.354, allocations: 3.938 kB / 0.7789 GB, free: 1.652 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005066/0.3545, allocations: 87.89 kB / 0.779 GB, free: 1.566 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008294/0.3628, allocations: 2.174 MB / 0.7811 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001577/0.363, allocations: 16 kB / 0.7811 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02835/0.3913, allocations: 9.51 MB / 0.7904 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.3913, allocations: 0 / 0.7904 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01871/0.41, allocations: 5.433 MB / 0.7957 GB, free: 288 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004181/0.4105, allocations: 131.1 kB / 0.7958 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002506/0.4107, allocations: 19.94 kB / 0.7959 GB, free: 136 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/0.412, allocations: 107.9 kB / 0.796 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008096/0.4128, allocations: 236.5 kB / 0.7962 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.341e-05/0.4129, allocations: 24 kB / 0.7962 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000995/0.4139, allocations: 0.6269 MB / 0.7968 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4139, allocations: 0 / 0.7968 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001433/0.4153, allocations: 443.7 kB / 0.7973 GB, free: 14.7 MB / 0.5762 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.0194/0.4347, allocations: 5.995 MB / 0.8031 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008666/0.4434, allocations: 2.442 MB / 0.8055 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4434, allocations: 0 / 0.8055 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006442/0.4499, allocations: 1.681 MB / 0.8071 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.4509, allocations: 101.7 kB / 0.8072 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3538/0.8048, allocations: 15.87 MB / 0.8227 GB, free: 93.39 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/0.8053, allocations: 490.3 kB / 0.8232 GB, free: 93.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003698/0.8057, allocations: 80.25 kB / 0.8233 GB, free: 93.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004486/0.8062, allocations: 417.3 kB / 0.8237 GB, free: 92.94 MB / 0.5762 GB Notification: Performance of SimCode: time 1.182e-06/0.8062, allocations: 0 / 0.8237 GB, free: 92.94 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07679/0.8829, allocations: 39.34 MB / 0.8621 GB, free: 63.22 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.32, allocations: 9.781 kB / 0.8621 GB, free: 63.21 MB / 0.5762 GB " [Timeout remaining time 645] (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: 19.12612923514098] Failed to read output from testmodel.py, exit status != 0: 15.460822535213083 15.478570721 15.304973856 Calling exit ...