Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.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.001265/0.001265, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] 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.001474/0.001474, allocations: 212.3 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 207.6 MB / 234.5 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3532/0.3532, allocations: 49.57 MB / 336.3 MB, free: 4.109 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestValveChoked,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestValveChoked,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002215/0.002215, allocations: 71.91 kB / 476.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.14, allocations: 62.42 MB / 0.5261 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.3277/0.4677, allocations: 45 MB / 0.5701 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01438/0.4821, allocations: 9.339 MB / 0.5792 GB, free: 5.902 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006946/0.4828, allocations: 17.25 kB / 0.5792 GB, free: 5.891 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008546/0.4837, allocations: 204 kB / 0.5794 GB, free: 5.766 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000906/0.4846, allocations: 287.3 kB / 0.5797 GB, free: 5.578 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01951/0.5041, allocations: 5.066 MB / 0.5846 GB, free: 2.469 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001823/0.5059, allocations: 0.7979 MB / 0.5854 GB, free: 2.008 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004669/0.5064, allocations: 220.4 kB / 0.5856 GB, free: 1.855 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009968/0.5074, allocations: 417.1 kB / 0.586 GB, free: 1.613 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005721/0.5079, allocations: 300.4 kB / 0.5863 GB, free: 1.434 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.495e-05/0.508, allocations: 32.5 kB / 0.5863 GB, free: 1.434 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01507/0.5231, allocations: 6.173 MB / 0.5924 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000193/0.5233, allocations: 80.92 kB / 0.5924 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005229/0.5238, allocations: 246.5 kB / 0.5927 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01217/0.536, allocations: 3.712 MB / 0.5963 GB, free: 11.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.536, allocations: 1.375 kB / 0.5963 GB, free: 11.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.536, allocations: 0 / 0.5963 GB, free: 11.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.536, allocations: 0 / 0.5963 GB, free: 11.61 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.005189/0.5412, allocations: 1.149 MB / 0.5974 GB, free: 10.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.346e-05/0.5412, allocations: 9.906 kB / 0.5974 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.434e-05/0.5413, allocations: 67.94 kB / 0.5975 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002943/0.5416, allocations: 70.84 kB / 0.5976 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007707/0.5424, allocations: 319 kB / 0.5979 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.275e-05/0.5425, allocations: 20.81 kB / 0.5979 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.336e-05/0.5425, allocations: 33.06 kB / 0.5979 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.5436, allocations: 436.9 kB / 0.5983 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.5436, allocations: 1.062 kB / 0.5983 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/0.5436, allocations: 15.42 kB / 0.5984 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.5436, allocations: 11.78 kB / 0.5984 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.5449, allocations: 362.9 kB / 0.5987 GB, free: 9.887 MB / 446.1 MB 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.002858/0.5477, allocations: 2.093 MB / 0.6008 GB, free: 7.867 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.5489, allocations: 292.8 kB / 0.601 GB, free: 7.707 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003693/0.5493, allocations: 106.2 kB / 0.6011 GB, free: 7.648 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06032/0.6096, allocations: 16.8 MB / 0.6175 GB, free: 8.129 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.6097, allocations: 38.55 kB / 0.6176 GB, free: 8.082 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 2.214e-06/0.6097, allocations: 0 / 0.6176 GB, free: 8.082 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001788/0.6115, allocations: 413.1 kB / 0.618 GB, free: 7.672 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/0.6115, allocations: 85.05 kB / 0.6181 GB, free: 7.57 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005536/0.6121, allocations: 438 kB / 0.6185 GB, free: 7.133 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.6121, allocations: 33.7 kB / 0.6185 GB, free: 7.094 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.6123, allocations: 236.4 kB / 0.6187 GB, free: 6.859 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.241e-05/0.6124, allocations: 55.44 kB / 0.6188 GB, free: 6.805 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.6125, allocations: 57.62 kB / 0.6188 GB, free: 6.742 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.6127, allocations: 354.7 kB / 0.6192 GB, free: 6.387 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.613, allocations: 104.8 kB / 0.6193 GB, free: 6.281 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/0.6135, allocations: 155.7 kB / 0.6194 GB, free: 6.102 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007823/0.6142, allocations: 261.4 kB / 0.6197 GB, free: 5.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.6142, allocations: 4 kB / 0.6197 GB, free: 5.816 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009598/0.6152, allocations: 329.2 kB / 0.62 GB, free: 5.488 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.6152, allocations: 8 kB / 0.62 GB, free: 5.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.6152, allocations: 0 / 0.62 GB, free: 5.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.6152, allocations: 11.88 kB / 0.62 GB, free: 5.469 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/0.6156, allocations: 59.95 kB / 0.6201 GB, free: 5.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.6156, allocations: 3.938 kB / 0.6201 GB, free: 5.406 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004178/0.616, allocations: 59.67 kB / 0.6201 GB, free: 5.348 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.6161, allocations: 11.98 kB / 0.6201 GB, free: 5.336 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000471/0.6165, allocations: 196.1 kB / 0.6203 GB, free: 5.141 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004038/0.617, allocations: 153.8 kB / 0.6205 GB, free: 4.957 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000747/0.6177, allocations: 257.2 kB / 0.6207 GB, free: 4.672 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-06/0.6177, allocations: 0 / 0.6207 GB, free: 4.672 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000922/0.6186, allocations: 313.7 kB / 0.621 GB, free: 4.359 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.6186, allocations: 8 kB / 0.621 GB, free: 4.352 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.6186, allocations: 11.97 kB / 0.621 GB, free: 4.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.031e-06/0.6187, allocations: 4.188 kB / 0.621 GB, free: 4.336 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.619, allocations: 63.89 kB / 0.6211 GB, free: 4.273 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.619, allocations: 10.69 kB / 0.6211 GB, free: 4.266 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003845/0.6194, allocations: 39.89 kB / 0.6211 GB, free: 4.227 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.6194, allocations: 8 kB / 0.6212 GB, free: 4.219 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (ValveVap.fluidState.phase,ValveLiqChocked.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001844/0.6196, allocations: 196.1 kB / 0.6213 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.6197, allocations: 51.67 kB / 0.6214 GB, free: 3.969 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.6208, allocations: 460.6 kB / 0.6218 GB, free: 3.508 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.6208, allocations: 4 kB / 0.6218 GB, free: 3.504 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6209, allocations: 0 / 0.6218 GB, free: 3.504 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.6209, allocations: 3.938 kB / 0.6218 GB, free: 3.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006996/0.6216, allocations: 436.1 kB / 0.6223 GB, free: 3.031 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6216, allocations: 3.938 kB / 0.6223 GB, free: 3.027 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/0.6219, allocations: 55.89 kB / 0.6223 GB, free: 2.973 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.6219, allocations: 4 kB / 0.6223 GB, free: 2.969 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.6219, allocations: 4 kB / 0.6223 GB, free: 2.965 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/0.6219, allocations: 4 kB / 0.6223 GB, free: 2.961 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.6219, allocations: 0 / 0.6223 GB, free: 2.961 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.6229, allocations: 462.3 kB / 0.6228 GB, free: 2.492 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.623, allocations: 43.7 kB / 0.6228 GB, free: 2.449 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-05/0.6231, allocations: 23.83 kB / 0.6228 GB, free: 2.426 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003353/0.6234, allocations: 23.92 kB / 0.6229 GB, free: 2.402 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.186e-05/0.6235, allocations: 19.91 kB / 0.6229 GB, free: 2.383 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.6235, allocations: 4 kB / 0.6229 GB, free: 2.379 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005085/0.624, allocations: 414.8 kB / 0.6233 GB, free: 1.977 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.624, allocations: 0 / 0.6233 GB, free: 1.977 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004155/0.6282, allocations: 0.9358 MB / 0.6242 GB, free: 1.039 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006081/0.6342, allocations: 1.847 MB / 0.626 GB, free: 15.17 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.6356, allocations: 352.3 kB / 0.6263 GB, free: 14.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.6356, allocations: 0 / 0.6263 GB, free: 14.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003768/0.636, allocations: 111.9 kB / 0.6264 GB, free: 14.71 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.6373, allocations: 237.7 kB / 0.6267 GB, free: 14.49 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008256/0.6456, allocations: 4.277 MB / 0.6308 GB, free: 10.07 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005405/0.6461, allocations: 0.8308 MB / 0.6316 GB, free: 9.215 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004458/0.6466, allocations: 166.9 kB / 0.6318 GB, free: 9.051 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002633/0.6468, allocations: 175.4 kB / 0.632 GB, free: 8.879 MB / 478.1 MB Notification: Performance of SimCode: time 1.001e-06/0.6468, allocations: 0 / 0.632 GB, free: 8.879 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09167/0.7385, allocations: 40.15 MB / 0.6712 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.53, allocations: 11.83 kB / 0.6712 GB, free: 0.5938 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.sim & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.875766593999288] Failed to read output from testmodel.py, exit status != 0: 14.67299828600153 14.70528218 14.163496183 Calling exit ...