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.00169/0.00169, allocations: 107.1 kB / 16.45 MB, free: 6.449 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.493/1.493, allocations: 230.6 MB / 249.8 MB, free: 9.219 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.001897/0.001897, allocations: 219.4 kB / 306 MB, free: 4.289 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.6154/0.6154, allocations: 107.2 MB / 469.2 MB, free: 6.328 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.003026/0.003026, allocations: 94.14 kB / 0.628 GB, free: 7.836 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4631/0.4661, allocations: 80.1 MB / 0.7062 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO): time 0.006338/0.4724, allocations: 6.654 MB / 0.7127 GB, free: 8 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004933/0.4774, allocations: 1.996 MB / 0.7147 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.4785, allocations: 9.25 kB / 0.7147 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007342/0.4792, allocations: 252.2 kB / 0.7149 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001997/0.4812, allocations: 0.6419 MB / 0.7156 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.4832, allocations: 0.7568 MB / 0.7163 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002683/0.4859, allocations: 1.514 MB / 0.7178 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004596/0.4864, allocations: 203.8 kB / 0.718 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.4875, allocations: 0.6308 MB / 0.7186 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.4886, allocations: 0.8 MB / 0.7194 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001702/0.4888, allocations: 118.1 kB / 0.7195 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005061/0.4893, allocations: 237.9 kB / 0.7197 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002965/0.4896, allocations: 309.8 kB / 0.72 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006535/0.4902, allocations: 0.6533 MB / 0.7206 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002399/0.4926, allocations: 1.601 MB / 0.7222 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4926, allocations: 0 / 0.7222 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4926, allocations: 3.938 kB / 0.7222 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.703e-05/0.4927, allocations: 0 / 0.7222 GB, free: 10.64 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.01036/0.503, allocations: 2.686 MB / 0.7248 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.5031, allocations: 10.14 kB / 0.7248 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000213/0.5033, allocations: 125.9 kB / 0.725 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005025/0.5083, allocations: 0.6992 MB / 0.7256 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/0.5104, allocations: 0.8111 MB / 0.7264 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005538/0.511, allocations: 352.3 kB / 0.7268 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002953/0.5113, allocations: 82.33 kB / 0.7268 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003278/0.5145, allocations: 1.209 MB / 0.728 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.5146, allocations: 0.9688 kB / 0.728 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.5147, allocations: 30.44 kB / 0.7281 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.5147, allocations: 17.59 kB / 0.7281 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00329/0.518, allocations: 1.171 MB / 0.7292 GB, free: 7.398 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.007781/0.5258, allocations: 3.8 MB / 0.7329 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008642/0.5344, allocations: 2.486 MB / 0.7354 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002383/0.5368, allocations: 0.7465 MB / 0.7361 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002124/0.537, allocations: 19.84 kB / 0.7361 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.354e-05/0.5371, allocations: 52.22 kB / 0.7361 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=100): time 3.326e-06/0.5371, allocations: 0 / 0.7361 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100): time 0.04384/0.5809, allocations: 9.067 MB / 0.745 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.931e-05/0.581, allocations: 88.67 kB / 0.7451 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001945/0.5829, allocations: 0.9124 MB / 0.746 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003804/0.5833, allocations: 45.23 kB / 0.746 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004582/0.5838, allocations: 481.2 kB / 0.7465 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006542/0.5844, allocations: 364.6 kB / 0.7468 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006246/0.5851, allocations: 171.9 kB / 0.747 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.5852, allocations: 346.5 kB / 0.7473 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00212/0.5874, allocations: 0.7059 MB / 0.748 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002235/0.5896, allocations: 0.8494 MB / 0.7488 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004158/0.5938, allocations: 1.577 MB / 0.7504 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.218e-06/0.5938, allocations: 1.156 kB / 0.7504 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01808/0.6118, allocations: 4.572 MB / 0.7548 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.6119, allocations: 5.875 kB / 0.7549 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.6119, allocations: 7.938 kB / 0.7549 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009412/0.6213, allocations: 2.291 MB / 0.7571 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009532/0.6223, allocations: 151.8 kB / 0.7572 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03474/0.657, allocations: 11.12 MB / 0.7681 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002182/0.6592, allocations: 183.2 kB / 0.7683 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002962/0.6595, allocations: 35.98 kB / 0.7683 GB, free: 8.406 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.0008332/0.6603, allocations: 230.6 kB / 0.7685 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005599/0.6609, allocations: 131.2 kB / 0.7687 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01759/0.6785, allocations: 4.474 MB / 0.773 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.518e-05/0.6785, allocations: 12 kB / 0.773 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6785, allocations: 0 / 0.773 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.98e-05/0.6785, allocations: 3.984 kB / 0.773 GB, free: 3.531 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.02086/0.6994, allocations: 6.159 MB / 0.7791 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/0.6994, allocations: 0 / 0.7791 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007355/0.7001, allocations: 107.9 kB / 0.7792 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008723/0.7089, allocations: 2.171 MB / 0.7813 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000234/0.7091, allocations: 20 kB / 0.7813 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03019/0.7393, allocations: 9.854 MB / 0.7909 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.7393, allocations: 4 kB / 0.7909 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02049/0.7598, allocations: 5.604 MB / 0.7964 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005365/0.7603, allocations: 216.1 kB / 0.7966 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004664/0.7608, allocations: 20 kB / 0.7966 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001643/0.7624, allocations: 123.8 kB / 0.7967 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009268/0.7634, allocations: 248.6 kB / 0.797 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/0.7635, allocations: 35.92 kB / 0.797 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001106/0.7646, allocations: 0.6232 MB / 0.7976 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7646, allocations: 0 / 0.7976 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001786/0.7664, allocations: 459.7 kB / 0.7981 GB, free: 9.566 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.02051/0.7869, allocations: 6.163 MB / 0.8041 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0094/0.7963, allocations: 2.535 MB / 0.8066 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.7963, allocations: 4 kB / 0.8066 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007123/0.8034, allocations: 1.736 MB / 0.8083 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.805, allocations: 104.3 kB / 0.8084 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05136/0.8563, allocations: 16.18 MB / 0.8242 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/0.8574, allocations: 1.091 MB / 0.8252 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005206/0.8579, allocations: 94.98 kB / 0.8253 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007781/0.8587, allocations: 443.3 kB / 0.8257 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of SimCode: time 1.313e-06/0.8587, allocations: 0 / 0.8257 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08995/0.9486, allocations: 38.82 MB / 0.8636 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/15.34, allocations: 4.938 kB / 0.8637 GB, free: 6.176 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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.911700936034322] Failed to read output from testmodel.py, exit status != 0: 15.452391603961587 15.474596839 14.977664813 Calling exit ...