Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.WaterVaporization.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.0007362/0.0007362, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007513/0.0007513, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8424/0.8424, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.08412/0.08412, allocations: 17.45 MB / 276.6 MB, free: 11.75 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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(Chemical.Examples.WaterVaporization,fileNamePrefix="Chemical_master_Chemical_Examples_WaterVaporization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterVaporization,fileNamePrefix="Chemical_master_Chemical_Examples_WaterVaporization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 411.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.161e-05, allocations: 2.281 kB / 411.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.007479/0.007501, allocations: 12.15 MB / 423.7 MB, free: 4.695 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1233/0.1308, allocations: 148.6 MB / 0.5589 GB, free: 8.754 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002561/0.1334, allocations: 91.25 kB / 0.559 GB, free: 8.664 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002884/0.1362, allocations: 1.242 MB / 0.5602 GB, free: 7.414 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003069/0.1393, allocations: 1.691 MB / 0.5619 GB, free: 5.711 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002988/0.1423, allocations: 1.909 MB / 0.5638 GB, free: 3.793 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003473/0.1458, allocations: 4.152 MB / 0.5678 GB, free: 15.62 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006735/0.1464, allocations: 0.7217 MB / 0.5685 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001382/0.1478, allocations: 2.113 MB / 0.5706 GB, free: 12.73 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.1491, allocations: 1.512 MB / 0.572 GB, free: 11.21 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002447/0.1493, allocations: 331.9 kB / 0.5724 GB, free: 10.89 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.1518, allocations: 1.509 MB / 0.5738 GB, free: 9.379 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004815/0.1523, allocations: 1.039 MB / 0.5749 GB, free: 8.336 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007163/0.153, allocations: 1.219 MB / 0.576 GB, free: 7.113 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004013/0.1571, allocations: 5.709 MB / 0.5816 GB, free: 1.387 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1571, allocations: 0 / 0.5816 GB, free: 1.387 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1571, allocations: 0 / 0.5816 GB, free: 1.387 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.452e-05/0.1571, allocations: 0 / 0.5816 GB, free: 1.387 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1015 * Number of variables: 1015 Notification: Performance of Generate backend data structure: time 0.158/0.3151, allocations: 4.059 MB / 0.5856 GB, free: 162.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.3151, allocations: 11.78 kB / 0.5856 GB, free: 162.1 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007233/0.3159, allocations: 0.5105 MB / 0.5861 GB, free: 161.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001661/0.3175, allocations: 0.7704 MB / 0.5868 GB, free: 161.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002634/0.3202, allocations: 1.942 MB / 0.5887 GB, free: 160.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002661/0.3204, allocations: 438.6 kB / 0.5892 GB, free: 160.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003592/0.3208, allocations: 334.7 kB / 0.5895 GB, free: 160 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00977/0.3306, allocations: 10.64 MB / 0.5999 GB, free: 155.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.214e-05/0.3306, allocations: 7.703 kB / 0.5999 GB, free: 155.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/0.3308, allocations: 138.2 kB / 0.6 GB, free: 155.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000398/0.3312, allocations: 473.6 kB / 0.6005 GB, free: 155.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01176/0.3429, allocations: 19.86 MB / 0.6199 GB, free: 140 MB / 490.7 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.01767/0.3606, allocations: 17.82 MB / 0.6373 GB, free: 122.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.3625, allocations: 2.245 MB / 0.6395 GB, free: 120.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.3638, allocations: 1.725 MB / 0.6411 GB, free: 118.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00883/0.3726, allocations: 8.167 MB / 0.6491 GB, free: 110.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.3726, allocations: 43.88 kB / 0.6492 GB, free: 110.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=136): time 3.226e-06/0.3726, allocations: 2.656 kB / 0.6492 GB, free: 110.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=190): time 0.04485/0.4175, allocations: 21.79 MB / 0.6704 GB, free: 88.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006725/0.4242, allocations: 6.047 MB / 0.6763 GB, free: 82.26 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/0.4264, allocations: 2.399 MB / 0.6787 GB, free: 79.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005759/0.427, allocations: 57.7 kB / 0.6787 GB, free: 79.78 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006207/0.4276, allocations: 1.84 MB / 0.6805 GB, free: 77.92 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005229/0.4281, allocations: 0.67 MB / 0.6812 GB, free: 77.24 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008622/0.429, allocations: 0.6789 MB / 0.6819 GB, free: 76.56 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 2.547e-05/0.429, allocations: 309.1 kB / 0.6821 GB, free: 76.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00227/0.4313, allocations: 2.451 MB / 0.6845 GB, free: 73.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002396/0.4337, allocations: 3.228 MB / 0.6877 GB, free: 70.22 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.07741/0.5111, allocations: 29.07 MB / 0.7161 GB, free: 41.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.547e-05/0.5111, allocations: 10.72 kB / 0.7161 GB, free: 41.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01177/0.5229, allocations: 8.114 MB / 0.724 GB, free: 33.13 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.5229, allocations: 16 kB / 0.724 GB, free: 33.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.651e-05/0.523, allocations: 24 kB / 0.7241 GB, free: 33.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01102/0.534, allocations: 4.4 MB / 0.7284 GB, free: 28.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002651/0.5366, allocations: 0.9856 MB / 0.7293 GB, free: 27.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007188/0.5438, allocations: 9.903 MB / 0.739 GB, free: 17.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/0.546, allocations: 154.9 kB / 0.7391 GB, free: 17.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003522/0.5463, allocations: 423.8 kB / 0.7395 GB, free: 16.88 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: gasVolatility.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * Number of states: 0 () * Number of discrete variables: 4 (liquidWater.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase,otherSubstances.substanceDefinitionVar.SelfClustering,otherSubstances.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(3,5), (5,13), (2,3), (1,2), (4,14), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.00151/0.5478, allocations: 0.9164 MB / 0.7404 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003995/0.5482, allocations: 306.2 kB / 0.7407 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/0.562, allocations: 8.333 MB / 0.7489 GB, free: 7.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/0.5621, allocations: 27.88 kB / 0.7489 GB, free: 7.383 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/0.5621, allocations: 4 kB / 0.7489 GB, free: 7.379 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-05/0.5621, allocations: 11.91 kB / 0.7489 GB, free: 7.367 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01941/0.5815, allocations: 12.88 MB / 0.7615 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/0.5815, allocations: 4 kB / 0.7615 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002398/0.5839, allocations: 0.6949 MB / 0.7622 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01175/0.5957, allocations: 4.079 MB / 0.7662 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005169/0.5962, allocations: 115.9 kB / 0.7663 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1805/0.7767, allocations: 16.67 MB / 0.7825 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005642/0.7823, allocations: 4.703 MB / 0.7871 GB, free: 155.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01668/0.799, allocations: 9.883 MB / 0.7968 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005954/0.7996, allocations: 276.7 kB / 0.7971 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003217/0.7999, allocations: 37.3 kB / 0.7971 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.8012, allocations: 121.9 kB / 0.7972 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005688/0.8017, allocations: 225.8 kB / 0.7974 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000253/0.802, allocations: 209.8 kB / 0.7976 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00174/0.8037, allocations: 1.851 MB / 0.7994 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8037, allocations: 1.188 kB / 0.7994 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002422/0.8061, allocations: 1.023 MB / 0.8004 GB, free: 150.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 ($STATESET1.x,liquid.temperature,H2O_gaseuous.logn,otherSubstances.logn,liquidWater.logm,gasVolatility.rear.n_flow) * 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 (142): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,13,80.0%), (1,4,100.0%), (3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(4,15), (5,7), (2,3), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01488/0.821, allocations: 10.3 MB / 0.8105 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006272/0.8273, allocations: 5.449 MB / 0.8158 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.8273, allocations: 0 / 0.8158 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003702/0.831, allocations: 3.138 MB / 0.8189 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/0.8328, allocations: 0.5672 MB / 0.8194 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04676/0.8796, allocations: 38.12 MB / 0.8566 GB, free: 99.29 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/0.8807, allocations: 1.68 MB / 0.8583 GB, free: 97.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002359/0.8831, allocations: 1.018 MB / 0.8593 GB, free: 96.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001678/0.8847, allocations: 1.707 MB / 0.8609 GB, free: 95.14 MB / 0.4948 GB Notification: Performance of SimCode: time 1.913e-06/0.8847, allocations: 0 / 0.8609 GB, free: 95.14 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1114/0.9961, allocations: 107.4 MB / 0.9659 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.25/11.24, allocations: 18.73 kB / 0.9659 GB, free: 4.465 MB / 0.5105 GB " [Timeout remaining time 649] (rm -f Chemical_master_Chemical.Examples.WaterVaporization.pipe ; mkfifo Chemical_master_Chemical.Examples.WaterVaporization.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.WaterVaporization.pipe >> ../files/Chemical_master_Chemical.Examples.WaterVaporization.sim & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Examples.WaterVaporization_res.csv --start-time 0 --stop-time 400 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.16 Chemical_master_Chemical_Examples_WaterVaporization.fmu > Chemical_master_Chemical.Examples.WaterVaporization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.296980261802673] Failed to read output from testmodel.py, exit status != 0: 11.50879063270986 11.512251267 11.353713762 Calling exit ...