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.001274/0.001274, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.404/1.404, allocations: 230.6 MB / 253.5 MB, free: 14.29 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.001567/0.001567, allocations: 208.6 kB / 310 MB, free: 3.07 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.5841/0.5841, allocations: 101.3 MB / 467.7 MB, free: 32.02 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO",fmuType="cs",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.00232/0.00232, allocations: 98.27 kB / 0.6251 GB, free: 33.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1416, allocations: 78.61 MB / 0.7018 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO): time 0.007588/0.1492, allocations: 5.833 MB / 0.7075 GB, free: 10.96 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00429/0.1535, allocations: 1.911 MB / 0.7094 GB, free: 9.047 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004758/0.154, allocations: 12 kB / 0.7094 GB, free: 9.035 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005999/0.1546, allocations: 238 kB / 0.7096 GB, free: 8.801 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001441/0.156, allocations: 0.6358 MB / 0.7103 GB, free: 8.164 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.1577, allocations: 0.7458 MB / 0.711 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001728/0.1594, allocations: 1.511 MB / 0.7125 GB, free: 5.902 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000391/0.1598, allocations: 204.7 kB / 0.7127 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008282/0.1606, allocations: 0.6302 MB / 0.7133 GB, free: 5.059 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.1616, allocations: 0.7973 MB / 0.7141 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002012/0.1618, allocations: 120 kB / 0.7142 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005093/0.1624, allocations: 239.9 kB / 0.7144 GB, free: 3.906 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003322/0.1627, allocations: 310.7 kB / 0.7147 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005873/0.1633, allocations: 0.5323 MB / 0.7152 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002015/0.1653, allocations: 1.618 MB / 0.7168 GB, free: 1.441 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1653, allocations: 0 / 0.7168 GB, free: 1.441 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1653, allocations: 4 kB / 0.7168 GB, free: 1.438 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.093e-05/0.1653, allocations: 0 / 0.7168 GB, free: 1.438 MB / 494.1 MB 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.008734/0.174, allocations: 2.612 MB / 0.7194 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.1741, allocations: 8.031 kB / 0.7194 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.587e-05/0.1741, allocations: 18 kB / 0.7194 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001729/0.1743, allocations: 130.6 kB / 0.7195 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004163/0.1785, allocations: 0.6938 MB / 0.7202 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.1797, allocations: 0.7514 MB / 0.7209 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004508/0.1802, allocations: 452.1 kB / 0.7213 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.1803, allocations: 75.94 kB / 0.7214 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/0.1829, allocations: 1.209 MB / 0.7226 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.1829, allocations: 0 / 0.7226 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.925e-05/0.183, allocations: 32 kB / 0.7226 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.183, allocations: 16 kB / 0.7226 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002636/0.1856, allocations: 1.171 MB / 0.7238 GB, free: 10.09 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.006045/0.1917, allocations: 2.952 MB / 0.7267 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007316/0.199, allocations: 2.033 MB / 0.7287 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001727/0.2007, allocations: 0.7476 MB / 0.7294 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.2008, allocations: 13 kB / 0.7294 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.2009, allocations: 55.42 kB / 0.7295 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=100): time 2.765e-06/0.2009, allocations: 3.938 kB / 0.7295 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100): time 0.03862/0.2395, allocations: 8.985 MB / 0.7382 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/0.2396, allocations: 90.11 kB / 0.7383 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.2409, allocations: 0.9137 MB / 0.7392 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002055/0.2411, allocations: 41.7 kB / 0.7392 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/0.2415, allocations: 477.4 kB / 0.7397 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004114/0.2419, allocations: 364.8 kB / 0.7401 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003901/0.2423, allocations: 170.9 kB / 0.7402 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.2425, allocations: 341.9 kB / 0.7405 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/0.2442, allocations: 0.7092 MB / 0.7412 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.246, allocations: 0.8501 MB / 0.7421 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003414/0.2494, allocations: 1.574 MB / 0.7436 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.2494, allocations: 4 kB / 0.7436 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01555/0.2649, allocations: 4.566 MB / 0.7481 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.265, allocations: 6.344 kB / 0.7481 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.265, allocations: 4 kB / 0.7481 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007783/0.2728, allocations: 2.291 MB / 0.7503 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008164/0.2736, allocations: 155.8 kB / 0.7505 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02855/0.3021, allocations: 10.79 MB / 0.761 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.3038, allocations: 179.3 kB / 0.7612 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.3039, allocations: 35.98 kB / 0.7612 GB, free: 3.363 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.0004941/0.3044, allocations: 233.7 kB / 0.7614 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002646/0.3047, allocations: 127.2 kB / 0.7615 GB, free: 3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01524/0.3199, allocations: 4.47 MB / 0.7659 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.32, allocations: 12 kB / 0.7659 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.32, allocations: 0 / 0.7659 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.497e-05/0.32, allocations: 7.969 kB / 0.7659 GB, free: 14.49 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.0173/0.3373, allocations: 5.506 MB / 0.7713 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/0.3373, allocations: 3.984 kB / 0.7713 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006113/0.3379, allocations: 111.9 kB / 0.7714 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007611/0.3455, allocations: 2.171 MB / 0.7735 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/0.3457, allocations: 23.98 kB / 0.7736 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02538/0.371, allocations: 9.526 MB / 0.7829 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3711, allocations: 0 / 0.7829 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01803/0.3891, allocations: 5.597 MB / 0.7883 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004581/0.3895, allocations: 143 kB / 0.7885 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/0.3897, allocations: 27.94 kB / 0.7885 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.3909, allocations: 111.9 kB / 0.7886 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008829/0.3918, allocations: 244.5 kB / 0.7888 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.87e-05/0.3919, allocations: 32 kB / 0.7889 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009003/0.3928, allocations: 0.6271 MB / 0.7895 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.3928, allocations: 0 / 0.7895 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0014/0.3942, allocations: 455.7 kB / 0.7899 GB, free: 5.715 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.01792/0.4121, allocations: 6.17 MB / 0.7959 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007941/0.4201, allocations: 2.551 MB / 0.7984 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.4201, allocations: 0 / 0.7984 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005927/0.426, allocations: 1.739 MB / 0.8001 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.4271, allocations: 104.3 kB / 0.8002 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3285/0.7556, allocations: 16.18 MB / 0.816 GB, free: 102.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005632/0.7562, allocations: 0.4961 MB / 0.8165 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004806/0.7567, allocations: 94 kB / 0.8166 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005753/0.7573, allocations: 443.8 kB / 0.817 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.332e-06/0.7573, allocations: 0 / 0.817 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0668/0.8241, allocations: 39.82 MB / 0.8559 GB, free: 75.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/15.59, allocations: 9.109 kB / 0.8559 GB, free: 75.4 MB / 0.5762 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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: 19.152397172991186] Failed to read output from testmodel.py, exit status != 0: 15.778143184026703 15.788716061 15.621168042 Calling exit ...