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.001258/0.001258, 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.436/1.436, 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.001519/0.001519, allocations: 215.8 kB / 310 MB, free: 3.055 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.5888/0.5888, allocations: 101.3 MB / 467.7 MB, free: 32.03 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.VSource,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource",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.002292/0.002292, allocations: 86.5 kB / 0.6251 GB, free: 33.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.128, allocations: 78.61 MB / 0.7018 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource): time 0.007705/0.1357, allocations: 5.589 MB / 0.7073 GB, free: 11.22 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004018/0.1397, allocations: 1.791 MB / 0.709 GB, free: 9.426 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008663/0.1406, allocations: 8 kB / 0.7091 GB, free: 9.418 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007727/0.1413, allocations: 238 kB / 0.7093 GB, free: 9.184 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.143, allocations: 0.6212 MB / 0.7099 GB, free: 8.559 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.1446, allocations: 0.7023 MB / 0.7106 GB, free: 7.863 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001757/0.1464, allocations: 1.455 MB / 0.712 GB, free: 6.402 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003431/0.1467, allocations: 203.9 kB / 0.7122 GB, free: 6.191 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007043/0.1475, allocations: 0.6068 MB / 0.7128 GB, free: 5.582 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009205/0.1484, allocations: 0.7624 MB / 0.7135 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000182/0.1486, allocations: 112 kB / 0.7136 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004269/0.149, allocations: 227.9 kB / 0.7139 GB, free: 4.484 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000263/0.1492, allocations: 290.8 kB / 0.7141 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004969/0.1497, allocations: 0.5167 MB / 0.7146 GB, free: 3.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.1514, allocations: 1.552 MB / 0.7161 GB, free: 2.121 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1514, allocations: 3.938 kB / 0.7162 GB, free: 2.117 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1514, allocations: 4 kB / 0.7162 GB, free: 2.113 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.1514, allocations: 0 / 0.7162 GB, free: 2.113 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.009038/0.1604, allocations: 2.541 MB / 0.7186 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/0.1605, allocations: 12.03 kB / 0.7187 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.471e-05/0.1605, allocations: 17.31 kB / 0.7187 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001625/0.1607, allocations: 122.5 kB / 0.7188 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00434/0.165, allocations: 0.6821 MB / 0.7194 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.1665, allocations: 0.7433 MB / 0.7202 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005013/0.167, allocations: 452.1 kB / 0.7206 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.1671, allocations: 79.75 kB / 0.7207 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002482/0.1696, allocations: 1.16 MB / 0.7218 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.1696, allocations: 0 / 0.7218 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.646e-05/0.1697, allocations: 32 kB / 0.7218 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/0.1698, allocations: 20 kB / 0.7219 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002466/0.1722, allocations: 1.085 MB / 0.7229 GB, free: 10.98 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.00616/0.1784, allocations: 3.038 MB / 0.7259 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007338/0.1857, allocations: 1.949 MB / 0.7278 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/0.1873, allocations: 0.6878 MB / 0.7285 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.901e-05/0.1874, allocations: 12.98 kB / 0.7285 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.1874, allocations: 43.56 kB / 0.7285 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=90): time 3.797e-06/0.1874, allocations: 0 / 0.7285 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=90): time 0.03516/0.2226, allocations: 8.42 MB / 0.7367 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.287e-05/0.2227, allocations: 86.11 kB / 0.7368 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/0.224, allocations: 0.9211 MB / 0.7377 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001792/0.2242, allocations: 45.64 kB / 0.7378 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003976/0.2246, allocations: 473.1 kB / 0.7382 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003893/0.225, allocations: 333.1 kB / 0.7385 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003848/0.2254, allocations: 158.6 kB / 0.7387 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.2256, allocations: 341.9 kB / 0.739 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/0.2272, allocations: 0.6617 MB / 0.7397 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/0.2289, allocations: 0.8136 MB / 0.7405 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003193/0.232, allocations: 1.502 MB / 0.7419 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.232, allocations: 0 / 0.7419 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01545/0.2475, allocations: 4.476 MB / 0.7463 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.2475, allocations: 4 kB / 0.7463 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.2475, allocations: 4 kB / 0.7463 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008/0.2555, allocations: 2.302 MB / 0.7485 GB, free: 432 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007214/0.2563, allocations: 131.8 kB / 0.7487 GB, free: 300 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02943/0.2857, allocations: 10.77 MB / 0.7592 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.2872, allocations: 171.3 kB / 0.7594 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.2873, allocations: 39.97 kB / 0.7594 GB, free: 5.191 MB / 0.5294 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.0005225/0.2879, allocations: 225.7 kB / 0.7596 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/0.2881, allocations: 123.2 kB / 0.7597 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01565/0.3038, allocations: 4.407 MB / 0.764 GB, free: 424 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.3038, allocations: 8 kB / 0.764 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3038, allocations: 0 / 0.764 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.99e-05/0.3038, allocations: 11.97 kB / 0.7641 GB, free: 404 kB / 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.01734/0.3212, allocations: 5.393 MB / 0.7693 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.3212, allocations: 7.938 kB / 0.7693 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004501/0.3216, allocations: 79.89 kB / 0.7694 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007578/0.3292, allocations: 2.163 MB / 0.7715 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.3293, allocations: 19.98 kB / 0.7715 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02512/0.3544, allocations: 9.522 MB / 0.7808 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3544, allocations: 4 kB / 0.7808 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01699/0.3714, allocations: 5.429 MB / 0.7861 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004075/0.3718, allocations: 135.2 kB / 0.7863 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/0.372, allocations: 19.94 kB / 0.7863 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.3731, allocations: 115.8 kB / 0.7864 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007393/0.3739, allocations: 240.5 kB / 0.7866 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.358e-05/0.374, allocations: 20 kB / 0.7866 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008717/0.3748, allocations: 0.6307 MB / 0.7873 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.3748, allocations: 0 / 0.7873 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00135/0.3762, allocations: 447.7 kB / 0.7877 GB, free: 7.969 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 (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.01765/0.3938, allocations: 5.991 MB / 0.7935 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007676/0.4015, allocations: 2.441 MB / 0.7959 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4015, allocations: 4 kB / 0.7959 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005682/0.4072, allocations: 1.669 MB / 0.7976 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008909/0.4081, allocations: 102.5 kB / 0.7977 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3123/0.7203, allocations: 15.86 MB / 0.8131 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/0.7209, allocations: 486.9 kB / 0.8136 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003589/0.7212, allocations: 86.77 kB / 0.8137 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004539/0.7217, allocations: 413 kB / 0.8141 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/0.7217, allocations: 0 / 0.8141 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06237/0.7841, allocations: 38.55 MB / 0.8517 GB, free: 79.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.41/18.2, allocations: 7.156 kB / 0.8517 GB, free: 79.34 MB / 0.5762 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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: 21.78949051501695] Failed to read output from testmodel.py, exit status != 0: 18.386075073038228 18.403248736 18.248628718 Calling exit ...