Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.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.001513/0.001513, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001791/0.001791, allocations: 210.7 kB / 24.49 MB, free: 4.18 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.439/1.439, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1548/0.1548, allocations: 26.82 MB / 341.5 MB, free: 8.203 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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 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: translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve") [Timeout 660] "Notification: ThermoPower 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.002069/0.002069, allocations: 71.89 kB / 478.1 MB, free: 3.172 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2776, allocations: 60.48 MB / 0.5259 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.08195/0.3595, allocations: 79.49 MB / 0.6036 GB, free: 5.336 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01606/0.3756, allocations: 11.37 MB / 0.6147 GB, free: 9.922 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008369/0.3764, allocations: 35.62 kB / 0.6147 GB, free: 9.887 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.3777, allocations: 413.1 kB / 0.6151 GB, free: 9.48 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001495/0.3792, allocations: 0.5432 MB / 0.6156 GB, free: 8.934 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01697/0.3962, allocations: 6.051 MB / 0.6216 GB, free: 2.875 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002366/0.3985, allocations: 1.543 MB / 0.6231 GB, free: 1.324 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007273/0.3992, allocations: 373.9 kB / 0.6234 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009532/0.4002, allocations: 0.5448 MB / 0.6239 GB, free: 404 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009247/0.4011, allocations: 0.5367 MB / 0.6245 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.4012, allocations: 52 kB / 0.6245 GB, free: 15.8 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01302/0.4143, allocations: 6.396 MB / 0.6308 GB, free: 9.402 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002979/0.4146, allocations: 147.3 kB / 0.6309 GB, free: 9.258 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007148/0.4153, allocations: 445.8 kB / 0.6313 GB, free: 8.82 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009904/0.4252, allocations: 4.228 MB / 0.6355 GB, free: 4.582 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.4252, allocations: 0 / 0.6355 GB, free: 4.582 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4252, allocations: 4 kB / 0.6355 GB, free: 4.578 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.019e-05/0.4252, allocations: 0 / 0.6355 GB, free: 4.578 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004515/0.4297, allocations: 1.631 MB / 0.6371 GB, free: 2.906 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.4298, allocations: 8.031 kB / 0.6371 GB, free: 2.898 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004538/0.4302, allocations: 136.3 kB / 0.6372 GB, free: 2.766 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.4312, allocations: 0.5095 MB / 0.6377 GB, free: 2.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002699/0.4315, allocations: 279.5 kB / 0.638 GB, free: 1.91 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.605e-05/0.4316, allocations: 56.12 kB / 0.638 GB, free: 1.855 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.4333, allocations: 0.7425 MB / 0.6387 GB, free: 1.066 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.4333, allocations: 0 / 0.6387 GB, free: 1.066 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.299e-05/0.4334, allocations: 31.94 kB / 0.6388 GB, free: 1.035 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.4334, allocations: 12 kB / 0.6388 GB, free: 1.023 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.435, allocations: 0.621 MB / 0.6394 GB, free: 412 kB / 478.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.004084/0.4391, allocations: 3.055 MB / 0.6424 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009702/0.44, allocations: 294 kB / 0.6427 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002588/0.4403, allocations: 99.39 kB / 0.6427 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.213e-05/0.4403, allocations: 12.61 kB / 0.6428 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.4404, allocations: 34.56 kB / 0.6428 GB, free: 12.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 2.164e-06/0.4404, allocations: 4 kB / 0.6428 GB, free: 12.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.002257/0.4426, allocations: 0.645 MB / 0.6434 GB, free: 11.97 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.818e-05/0.4427, allocations: 132.5 kB / 0.6436 GB, free: 11.81 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009681/0.4437, allocations: 0.7476 MB / 0.6443 GB, free: 11.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.4437, allocations: 29.7 kB / 0.6443 GB, free: 11.01 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/0.444, allocations: 356.7 kB / 0.6446 GB, free: 10.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.4441, allocations: 91.22 kB / 0.6447 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.4443, allocations: 69.62 kB / 0.6448 GB, free: 10.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4444, allocations: 329.8 kB / 0.6451 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.4447, allocations: 100.8 kB / 0.6452 GB, free: 10.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/0.445, allocations: 140.1 kB / 0.6453 GB, free: 9.918 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005335/0.4455, allocations: 208.5 kB / 0.6455 GB, free: 9.703 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4455, allocations: 0 / 0.6455 GB, free: 9.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008481/0.4464, allocations: 376.8 kB / 0.6459 GB, free: 9.328 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.4464, allocations: 4.281 kB / 0.6459 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4464, allocations: 4 kB / 0.6459 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.4464, allocations: 0 / 0.6459 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.4468, allocations: 83.81 kB / 0.646 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.4468, allocations: 0 / 0.646 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000458/0.4473, allocations: 59.5 kB / 0.646 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.4473, allocations: 16 kB / 0.6461 GB, free: 9.164 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004014/0.4477, allocations: 216.1 kB / 0.6463 GB, free: 8.949 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002997/0.448, allocations: 161.2 kB / 0.6464 GB, free: 8.758 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005119/0.4485, allocations: 229.2 kB / 0.6466 GB, free: 8.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.4485, allocations: 0 / 0.6466 GB, free: 8.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0008319/0.4494, allocations: 372.9 kB / 0.647 GB, free: 8.129 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.4494, allocations: 4 kB / 0.647 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.4494, allocations: 4 kB / 0.647 GB, free: 8.121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.477e-06/0.4494, allocations: 4 kB / 0.647 GB, free: 8.117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003539/0.4498, allocations: 75.89 kB / 0.6471 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4498, allocations: 4 kB / 0.6471 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004114/0.4502, allocations: 27.88 kB / 0.6471 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.4502, allocations: 15.98 kB / 0.6471 GB, free: 7.996 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001873/0.4504, allocations: 204.2 kB / 0.6473 GB, free: 7.789 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/0.4506, allocations: 103.4 kB / 0.6474 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007962/0.4514, allocations: 328.6 kB / 0.6477 GB, free: 7.355 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.4514, allocations: 4 kB / 0.6477 GB, free: 7.352 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4514, allocations: 0 / 0.6477 GB, free: 7.352 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.4514, allocations: 4 kB / 0.6477 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002211/0.4536, allocations: 1.323 MB / 0.649 GB, free: 5.922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.4536, allocations: 15.88 kB / 0.649 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.4539, allocations: 63.89 kB / 0.6491 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.4539, allocations: 4 kB / 0.6491 GB, free: 5.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.4539, allocations: 12 kB / 0.6491 GB, free: 5.828 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.199e-05/0.4539, allocations: 11.98 kB / 0.6491 GB, free: 5.816 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.4539, allocations: 8.406 kB / 0.6491 GB, free: 5.809 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009063/0.4548, allocations: 0.7248 MB / 0.6499 GB, free: 5.016 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.455, allocations: 91.34 kB / 0.6499 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.4551, allocations: 15.95 kB / 0.65 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/0.4556, allocations: 8 kB / 0.65 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.026e-05/0.4556, allocations: 51.81 kB / 0.65 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.4557, allocations: 12 kB / 0.65 GB, free: 4.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007228/0.4564, allocations: 0.5419 MB / 0.6506 GB, free: 4.305 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4564, allocations: 0 / 0.6506 GB, free: 4.305 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002986/0.4594, allocations: 1.08 MB / 0.6516 GB, free: 3.223 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.004183/0.4636, allocations: 1.016 MB / 0.6526 GB, free: 2.199 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.4646, allocations: 347.8 kB / 0.6529 GB, free: 1.859 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.4646, allocations: 4.062 kB / 0.6529 GB, free: 1.855 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000274/0.4649, allocations: 115.7 kB / 0.653 GB, free: 1.742 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003158/0.468, allocations: 0.5428 MB / 0.6536 GB, free: 1.203 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.4702, allocations: 1.199 MB / 0.6547 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006504/0.4708, allocations: 0.9066 MB / 0.6556 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.4711, allocations: 79.41 kB / 0.6557 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of SimCode: time 2.474e-06/0.4711, allocations: 0 / 0.6557 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of Templates: time 0.04164/0.5127, allocations: 25.4 MB / 0.6805 GB, free: 5.555 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.570201350026764] Failed to read output from testmodel.py, exit status != 0: 0.5222800729097798 0.537219385 0.108746225 Calling exit ...