Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.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.001641/0.001641, allocations: 100.3 kB / 19.69 MB, free: 1.949 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.002219/0.002219, allocations: 217.6 kB / 23 MB, free: 4.973 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.813/1.813, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/package.mo): time 0.4214/0.4214, allocations: 65.59 MB / 378.8 MB, free: 2.203 MB / 302.1 MB " [Timeout remaining time 179] Using package ThermalSeparation with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/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: "" <> buildModelFMU(ThermalSeparation.Examples.Testing.Pump.PumpSystem,fileNamePrefix="ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermalSeparation.Examples.Testing.Pump.PumpSystem,fileNamePrefix="ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 71.88 kB / 0.5176 GB, free: 2.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1845, allocations: 68.1 MB / 0.5841 GB, free: 7.141 MB / 430.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.01022/0.1947, allocations: 6.567 MB / 0.5905 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009441/0.2041, allocations: 4.155 MB / 0.5945 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002022/0.2062, allocations: 11.94 kB / 0.5945 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002246/0.2084, allocations: 0.493 MB / 0.595 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002543/0.211, allocations: 0.7182 MB / 0.5957 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.2125, allocations: 0.5384 MB / 0.5963 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004047/0.2166, allocations: 2.477 MB / 0.5987 GB, free: 8.121 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/0.2178, allocations: 0.6295 MB / 0.5993 GB, free: 7.477 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.2194, allocations: 0.8841 MB / 0.6002 GB, free: 6.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.2212, allocations: 1.035 MB / 0.6012 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003035/0.2215, allocations: 208 kB / 0.6014 GB, free: 5.348 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004503/0.2219, allocations: 208 kB / 0.6016 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008301/0.2227, allocations: 0.8104 MB / 0.6024 GB, free: 4.332 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001243/0.224, allocations: 0.8987 MB / 0.6032 GB, free: 3.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003649/0.2276, allocations: 3.102 MB / 0.6063 GB, free: 324 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.127e-05/0.2277, allocations: 4 kB / 0.6063 GB, free: 320 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2277, allocations: 0 / 0.6063 GB, free: 320 kB / 446.1 MB Notification: Performance of Transformations before backend: time 4.87e-05/0.2277, allocations: 0 / 0.6063 GB, free: 320 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 546 * Number of variables: 546 Notification: Performance of Generate backend data structure: time 0.005019/0.2327, allocations: 2.121 MB / 0.6083 GB, free: 14.14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.806e-05/0.2328, allocations: 12.03 kB / 0.6083 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004438/0.2332, allocations: 308 kB / 0.6086 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007978/0.234, allocations: 227.6 kB / 0.6089 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/0.2358, allocations: 0.6957 MB / 0.6095 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.2359, allocations: 144.4 kB / 0.6097 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007898/0.2367, allocations: 276.3 kB / 0.6099 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005575/0.2423, allocations: 2.731 MB / 0.6126 GB, free: 9.543 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.736e-05/0.2423, allocations: 11.81 kB / 0.6126 GB, free: 9.531 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002204/0.2425, allocations: 87.98 kB / 0.6127 GB, free: 9.445 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002039/0.2427, allocations: 147.5 kB / 0.6128 GB, free: 9.301 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00434/0.2471, allocations: 2.172 MB / 0.615 GB, free: 7.125 MB / 462.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.01519/0.2623, allocations: 9.101 MB / 0.6239 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002337/0.2646, allocations: 1.054 MB / 0.6249 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/0.2658, allocations: 0.5858 MB / 0.6255 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.2659, allocations: 21 kB / 0.6255 GB, free: 12.05 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.854e-05/0.266, allocations: 55.48 kB / 0.6255 GB, free: 11.99 MB / 478.1 MB Notification: Performance of pre-optimization done (n=115): time 3.787e-06/0.266, allocations: 0 / 0.6255 GB, free: 11.99 MB / 478.1 MB Notification: Performance of matching and sorting (n=140): time 0.0221/0.2881, allocations: 7.368 MB / 0.6327 GB, free: 4.551 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005839/0.2939, allocations: 3.882 MB / 0.6365 GB, free: 384 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002034/0.2959, allocations: 1.145 MB / 0.6376 GB, free: 15.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003105/0.2963, allocations: 45.7 kB / 0.6377 GB, free: 15.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008766/0.2971, allocations: 0.9748 MB / 0.6386 GB, free: 14.17 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007358/0.2979, allocations: 0.5152 MB / 0.6391 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007801/0.2986, allocations: 444.4 kB / 0.6396 GB, free: 13.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002717/0.2989, allocations: 341.9 kB / 0.6399 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/0.3008, allocations: 0.9142 MB / 0.6408 GB, free: 11.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002758/0.3036, allocations: 1.875 MB / 0.6426 GB, free: 9.617 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004847/0.3084, allocations: 2.947 MB / 0.6455 GB, free: 6.215 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.67e-05/0.3084, allocations: 15.94 kB / 0.6455 GB, free: 6.199 MB / 494.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009652/0.3181, allocations: 3.693 MB / 0.6491 GB, free: 2.488 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.057e-05/0.3181, allocations: 20 kB / 0.6491 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-05/0.3182, allocations: 32.19 kB / 0.6492 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004763/0.323, allocations: 0.9842 MB / 0.6501 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003184/0.3261, allocations: 0.5576 MB / 0.6507 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/0.3393, allocations: 6.488 MB / 0.657 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002901/0.3422, allocations: 159.8 kB / 0.6571 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002585/0.3424, allocations: 132 kB / 0.6573 GB, free: 9.941 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 5 (tank.mediumLiquidIn.state.phase,tank.mediumLiquid.state.phase,sourceLiquid.medium.state.phase,idealPumpControlledVdot.mediumLiquidIn.state.phase,idealPumpControlledVdot.mediumLiquid.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 264 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,14,63.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001116/0.3436, allocations: 0.5593 MB / 0.6578 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004385/0.344, allocations: 139.1 kB / 0.658 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008669/0.3527, allocations: 2.84 MB / 0.6607 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007586/0.3602, allocations: 2.468 MB / 0.6631 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/0.3603, allocations: 8 kB / 0.6631 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.189e-05/0.3603, allocations: 7.969 kB / 0.6631 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01553/0.3758, allocations: 5.566 MB / 0.6686 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.3758, allocations: 8.125 kB / 0.6686 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002088/0.3779, allocations: 279.5 kB / 0.6689 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005659/0.3836, allocations: 1.197 MB / 0.67 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002124/0.3838, allocations: 39.97 kB / 0.6701 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01207/0.3959, allocations: 6.155 MB / 0.6761 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005923/0.4018, allocations: 3.756 MB / 0.6797 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01201/0.4138, allocations: 4.325 MB / 0.684 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008598/0.4147, allocations: 147.1 kB / 0.6841 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006439/0.4153, allocations: 43.94 kB / 0.6841 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002063/0.4174, allocations: 75.91 kB / 0.6842 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005452/0.4179, allocations: 120.7 kB / 0.6843 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002158/0.4181, allocations: 59.91 kB / 0.6844 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001892/0.42, allocations: 0.6962 MB / 0.6851 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.42, allocations: 0 / 0.6851 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003713/0.4237, allocations: 0.5547 MB / 0.6856 GB, free: 12.16 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],tank.level) * 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 (126): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,10,61.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (5,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01253/0.4363, allocations: 4.911 MB / 0.6904 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007905/0.4442, allocations: 2.572 MB / 0.6929 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.116e-05/0.4442, allocations: 4 kB / 0.6929 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004563/0.4488, allocations: 1.322 MB / 0.6942 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003109/0.4519, allocations: 407.1 kB / 0.6946 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.417/0.8689, allocations: 17.74 MB / 0.7119 GB, free: 121.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001738/0.8706, allocations: 0.8245 MB / 0.7127 GB, free: 121.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00206/0.8727, allocations: 456.8 kB / 0.7132 GB, free: 121.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009502/0.8736, allocations: 0.6431 MB / 0.7138 GB, free: 121.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.342e-06/0.8736, allocations: 0 / 0.7138 GB, free: 121.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1048/0.9784, allocations: 45.3 MB / 0.758 GB, free: 90.18 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.81/18.79, allocations: 7.188 kB / 0.7581 GB, free: 90.18 MB / 0.545 GB " [Timeout remaining time 641] (rm -f ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe ; mkfifo ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe ; head -c 1048576 < ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe >> ../files/ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=50 --tolerance=1e-06 ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem.fmu > ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.720927021000534] Failed to read output from testmodel.py, exit status != 0: 18.934218217153102 18.947799054 18.717427712 Calling exit ...