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.001816/0.001816, 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.499/1.499, allocations: 230.6 MB / 252.7 MB, free: 14.25 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.001734/0.001734, allocations: 210.6 kB / 309.2 MB, free: 3.125 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.6125/0.6125, allocations: 107.3 MB / 473 MB, free: 29.82 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.002612/0.002612, allocations: 83.36 kB / 0.6332 GB, free: 29.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.136, allocations: 80.19 MB / 0.7115 GB, free: 7.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource): time 0.007495/0.1435, allocations: 5.586 MB / 0.717 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004033/0.1476, allocations: 1.787 MB / 0.7187 GB, free: 152 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004687/0.148, allocations: 8 kB / 0.7187 GB, free: 144 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006141/0.1487, allocations: 238 kB / 0.719 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001513/0.1502, allocations: 0.6174 MB / 0.7196 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.1519, allocations: 0.7137 MB / 0.7203 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001866/0.1538, allocations: 1.451 MB / 0.7217 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003523/0.1542, allocations: 191.8 kB / 0.7219 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007238/0.1549, allocations: 0.6108 MB / 0.7225 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008521/0.1557, allocations: 0.6881 MB / 0.7231 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001759/0.1559, allocations: 116 kB / 0.7232 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004522/0.1564, allocations: 216 kB / 0.7234 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002649/0.1566, allocations: 294.8 kB / 0.7237 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005021/0.1571, allocations: 0.5205 MB / 0.7242 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.1588, allocations: 1.544 MB / 0.7257 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.1588, allocations: 7.984 kB / 0.7258 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1588, allocations: 0 / 0.7258 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.1588, allocations: 0 / 0.7258 GB, free: 8.918 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.008729/0.1675, allocations: 2.537 MB / 0.7282 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1676, allocations: 12.03 kB / 0.7282 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001682/0.1678, allocations: 126.4 kB / 0.7284 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00442/0.1722, allocations: 0.686 MB / 0.729 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.1736, allocations: 0.7394 MB / 0.7298 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000479/0.1741, allocations: 452.1 kB / 0.7302 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.1743, allocations: 68 kB / 0.7303 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002518/0.1768, allocations: 1.164 MB / 0.7314 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.1768, allocations: 3.938 kB / 0.7314 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.259e-05/0.1769, allocations: 24 kB / 0.7314 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.1769, allocations: 20 kB / 0.7314 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002585/0.1795, allocations: 1.085 MB / 0.7325 GB, free: 1.812 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.006566/0.1861, allocations: 3.042 MB / 0.7355 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007518/0.1936, allocations: 1.95 MB / 0.7374 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001727/0.1953, allocations: 0.6877 MB / 0.738 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.1954, allocations: 13 kB / 0.7381 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.1955, allocations: 43.56 kB / 0.7381 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=90): time 3.146e-06/0.1955, allocations: 4 kB / 0.7381 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=90): time 0.03705/0.2325, allocations: 8.412 MB / 0.7463 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.013e-05/0.2326, allocations: 86.11 kB / 0.7464 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.2343, allocations: 0.9133 MB / 0.7473 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002578/0.2345, allocations: 45.7 kB / 0.7473 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004634/0.235, allocations: 477 kB / 0.7478 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005436/0.2355, allocations: 341.1 kB / 0.7481 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000509/0.236, allocations: 154.7 kB / 0.7483 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.2362, allocations: 341.9 kB / 0.7486 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/0.238, allocations: 0.6617 MB / 0.7492 GB, free: 492 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001951/0.2399, allocations: 0.8137 MB / 0.75 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003544/0.2435, allocations: 1.506 MB / 0.7515 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.2435, allocations: 4 kB / 0.7515 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01671/0.2602, allocations: 4.473 MB / 0.7559 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.2602, allocations: 8 kB / 0.7559 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.2602, allocations: 4 kB / 0.7559 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008671/0.2689, allocations: 2.297 MB / 0.7581 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007319/0.2696, allocations: 135.8 kB / 0.7583 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03168/0.3013, allocations: 10.78 MB / 0.7688 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.3029, allocations: 175.3 kB / 0.7689 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/0.3031, allocations: 28 kB / 0.769 GB, free: 12.02 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.0004911/0.3036, allocations: 231.4 kB / 0.7692 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/0.3039, allocations: 115.2 kB / 0.7693 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0164/0.3203, allocations: 4.423 MB / 0.7736 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/0.3203, allocations: 12 kB / 0.7736 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3203, allocations: 0 / 0.7736 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-05/0.3203, allocations: 3.984 kB / 0.7736 GB, free: 7.215 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.01888/0.3392, allocations: 5.393 MB / 0.7789 GB, free: 1.762 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.3392, allocations: 0 / 0.7789 GB, free: 1.762 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004961/0.3397, allocations: 87.78 kB / 0.779 GB, free: 1.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00827/0.348, allocations: 2.171 MB / 0.7811 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001708/0.3482, allocations: 16 kB / 0.7811 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02821/0.3764, allocations: 9.518 MB / 0.7904 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.3764, allocations: 0 / 0.7904 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01908/0.3955, allocations: 5.433 MB / 0.7957 GB, free: 396 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005003/0.396, allocations: 135.1 kB / 0.7958 GB, free: 260 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003717/0.3963, allocations: 19.94 kB / 0.7959 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/0.3978, allocations: 107.9 kB / 0.796 GB, free: 132 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009609/0.3987, allocations: 232.6 kB / 0.7962 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001589/0.3989, allocations: 24 kB / 0.7962 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001283/0.4002, allocations: 0.6269 MB / 0.7968 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.4002, allocations: 0 / 0.7968 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001818/0.402, allocations: 447.7 kB / 0.7973 GB, free: 14.8 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.01988/0.4219, allocations: 5.991 MB / 0.8031 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00889/0.4308, allocations: 2.446 MB / 0.8055 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.4308, allocations: 0 / 0.8055 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006588/0.4374, allocations: 1.68 MB / 0.8071 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.4387, allocations: 97.84 kB / 0.8072 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3872/0.8259, allocations: 15.88 MB / 0.8227 GB, free: 93.39 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/0.8265, allocations: 484.1 kB / 0.8232 GB, free: 93.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003842/0.8268, allocations: 90.97 kB / 0.8233 GB, free: 93.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004748/0.8273, allocations: 411.8 kB / 0.8237 GB, free: 92.94 MB / 0.5762 GB Notification: Performance of SimCode: time 1.974e-06/0.8273, allocations: 1.375 kB / 0.8237 GB, free: 92.94 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09029/0.9176, allocations: 39.33 MB / 0.8621 GB, free: 63.31 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/15.23, allocations: 10.12 kB / 0.8621 GB, free: 63.3 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 & /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: 18.807692775968462] Failed to read output from testmodel.py, exit status != 0: 15.371015914250165 15.387459947 15.225474966 Calling exit ...