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.001403/0.001403, 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/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.001615/0.001615, allocations: 213.7 kB / 22.25 MB, free: 5.262 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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.1517/0.1517, allocations: 23.99 MB / 336.4 MB, free: 10.86 MB / 270.1 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: Chemical 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.002115/0.002115, allocations: 75.81 kB / 471.3 MB, free: 7.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3548, allocations: 59.89 MB / 0.5187 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.0117/0.3665, allocations: 11.78 MB / 0.5302 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2377/0.6042, allocations: 147.3 MB / 0.6741 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003097/0.6073, allocations: 55.69 kB / 0.6741 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004426/0.6117, allocations: 1.137 MB / 0.6752 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005427/0.6171, allocations: 1.357 MB / 0.6765 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005493/0.6226, allocations: 1.669 MB / 0.6782 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008266/0.6309, allocations: 3.768 MB / 0.6819 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001607/0.6325, allocations: 0.7296 MB / 0.6826 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.6351, allocations: 1.339 MB / 0.6839 GB, free: 92 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003285/0.6384, allocations: 1.602 MB / 0.6854 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0009872/0.6394, allocations: 332 kB / 0.6858 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00397/0.6433, allocations: 1.248 MB / 0.687 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001393/0.6447, allocations: 0.942 MB / 0.6879 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003076/0.6478, allocations: 1.433 MB / 0.6893 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01054/0.6583, allocations: 5.506 MB / 0.6947 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.6584, allocations: 4 kB / 0.6947 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.345e-06/0.6584, allocations: 0 / 0.6947 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002061/0.6586, allocations: 0 / 0.6947 GB, free: 4.988 MB / 0.5294 GB 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.009139/0.6677, allocations: 4.01 MB / 0.6986 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.6677, allocations: 8.031 kB / 0.6986 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007901/0.6685, allocations: 0.5002 MB / 0.6991 GB, free: 420 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/0.6706, allocations: 0.7398 MB / 0.6998 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002506/0.6731, allocations: 1.395 MB / 0.7012 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003936/0.6735, allocations: 437.4 kB / 0.7016 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004412/0.6739, allocations: 340.2 kB / 0.7019 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01409/0.688, allocations: 10.65 MB / 0.7123 GB, free: 2.766 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.79e-05/0.6881, allocations: 0 / 0.7123 GB, free: 2.766 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002522/0.6884, allocations: 136 kB / 0.7124 GB, free: 2.633 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005266/0.6889, allocations: 479.7 kB / 0.7129 GB, free: 2.164 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2351/0.924, allocations: 19.85 MB / 0.7323 GB, free: 186.6 MB / 0.5606 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.02933/0.9533, allocations: 17.78 MB / 0.7497 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003211/0.9565, allocations: 2.248 MB / 0.7518 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002413/0.959, allocations: 1.72 MB / 0.7535 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0151/0.974, allocations: 8.169 MB / 0.7615 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.9741, allocations: 45.09 kB / 0.7615 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=136): time 3.777e-06/0.9741, allocations: 0 / 0.7615 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=190): time 0.09418/1.068, allocations: 23.03 MB / 0.784 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01175/1.08, allocations: 6.055 MB / 0.7899 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002596/1.083, allocations: 2.405 MB / 0.7923 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008805/1.083, allocations: 63.02 kB / 0.7924 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008992/1.084, allocations: 1.828 MB / 0.7941 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008505/1.085, allocations: 0.6807 MB / 0.7948 GB, free: 142 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/1.086, allocations: 0.6841 MB / 0.7955 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.591e-05/1.086, allocations: 309.1 kB / 0.7958 GB, free: 141 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003206/1.09, allocations: 2.451 MB / 0.7982 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00376/1.093, allocations: 3.228 MB / 0.8013 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.23/1.323, allocations: 28.78 MB / 0.8294 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.599e-05/1.323, allocations: 10.66 kB / 0.8294 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.02448/1.348, allocations: 8.079 MB / 0.8373 GB, free: 98.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.68e-05/1.348, allocations: 16 kB / 0.8373 GB, free: 98.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.407e-05/1.348, allocations: 24 kB / 0.8374 GB, free: 98.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02199/1.37, allocations: 4.365 MB / 0.8416 GB, free: 93.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005378/1.375, allocations: 0.9817 MB / 0.8426 GB, free: 92.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/1.387, allocations: 9.904 MB / 0.8523 GB, free: 82.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003846/1.391, allocations: 150.9 kB / 0.8524 GB, free: 82.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/1.392, allocations: 431.8 kB / 0.8528 GB, free: 81.94 MB / 0.5606 GB 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.002586/1.394, allocations: 0.9147 MB / 0.8537 GB, free: 81.02 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009663/1.395, allocations: 269.8 kB / 0.854 GB, free: 80.76 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02711/1.422, allocations: 8.352 MB / 0.8621 GB, free: 72.49 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.161e-05/1.422, allocations: 20 kB / 0.8621 GB, free: 72.47 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.915e-05/1.422, allocations: 7.938 kB / 0.8621 GB, free: 72.46 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-05/1.422, allocations: 11.95 kB / 0.8622 GB, free: 72.45 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03255/1.455, allocations: 12.88 MB / 0.8747 GB, free: 59.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.601e-05/1.455, allocations: 0 / 0.8747 GB, free: 59.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004468/1.459, allocations: 0.6949 MB / 0.8754 GB, free: 58.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02101/1.48, allocations: 4.018 MB / 0.8793 GB, free: 54.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006878/1.481, allocations: 123.8 kB / 0.8795 GB, free: 54.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02841/1.51, allocations: 16.71 MB / 0.8958 GB, free: 37.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.009791/1.519, allocations: 4.702 MB / 0.9004 GB, free: 32.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02787/1.547, allocations: 9.866 MB / 0.91 GB, free: 22.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007128/1.548, allocations: 270.2 kB / 0.9103 GB, free: 21.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007424/1.549, allocations: 48.02 kB / 0.9103 GB, free: 21.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002613/1.551, allocations: 111.9 kB / 0.9104 GB, free: 21.78 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007222/1.552, allocations: 237.5 kB / 0.9106 GB, free: 21.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003269/1.552, allocations: 207.9 kB / 0.9108 GB, free: 21.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002295/1.555, allocations: 1.847 MB / 0.9126 GB, free: 19.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.555, allocations: 0 / 0.9126 GB, free: 19.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003185/1.558, allocations: 0.9762 MB / 0.9136 GB, free: 18.51 MB / 0.5606 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.02746/1.585, allocations: 10.26 MB / 0.9236 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01131/1.597, allocations: 5.434 MB / 0.9289 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/1.597, allocations: 0 / 0.9289 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007602/1.604, allocations: 3.144 MB / 0.932 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002944/1.607, allocations: 0.5544 MB / 0.9325 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3229/1.93, allocations: 37.66 MB / 0.9693 GB, free: 182.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001925/1.932, allocations: 1.674 MB / 0.9709 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00439/1.936, allocations: 0.9512 MB / 0.9719 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002618/1.939, allocations: 1.685 MB / 0.9735 GB, free: 181.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.633e-06/1.939, allocations: 1.312 kB / 0.9735 GB, free: 181.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1541/2.093, allocations: 106.2 MB / 1.077 GB, free: 84.55 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.53/20.62, allocations: 7.844 kB / 1.077 GB, free: 84.55 MB / 0.5762 GB " [Timeout remaining time 639] (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: 23.604592348914593] Failed to read output from testmodel.py, exit status != 0: 20.807754276786 20.827362244 20.165018452 Calling exit ...