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.001335/0.001335, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001468/0.001468, allocations: 212.3 kB / 22.24 MB, free: 4.855 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.416/1.416, allocations: 230.6 MB / 256 MB, free: 7.812 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.1451/0.1451, allocations: 23.99 MB / 336.4 MB, free: 10.87 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.003367/0.003367, allocations: 67.89 kB / 471.3 MB, free: 7.375 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3686, allocations: 59.89 MB / 0.5187 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01122/0.3799, allocations: 11.79 MB / 0.5302 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2357/0.6156, allocations: 147.3 MB / 0.6741 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003523/0.6191, allocations: 59.69 kB / 0.6741 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00446/0.6236, allocations: 1.133 MB / 0.6752 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005658/0.6292, allocations: 1.354 MB / 0.6765 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005249/0.6345, allocations: 1.673 MB / 0.6782 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007146/0.6416, allocations: 3.78 MB / 0.6819 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001496/0.6431, allocations: 0.7217 MB / 0.6826 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002178/0.6453, allocations: 1.347 MB / 0.6839 GB, free: 108 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003011/0.6483, allocations: 1.598 MB / 0.6854 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0008538/0.6491, allocations: 332 kB / 0.6858 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003946/0.6531, allocations: 1.244 MB / 0.687 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001222/0.6543, allocations: 0.9341 MB / 0.6879 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002502/0.6568, allocations: 1.437 MB / 0.6893 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008751/0.6656, allocations: 5.51 MB / 0.6947 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.6656, allocations: 0 / 0.6947 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6656, allocations: 0 / 0.6947 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002057/0.6658, allocations: 4 kB / 0.6947 GB, free: 5.012 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.007641/0.6734, allocations: 4.002 MB / 0.6986 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.6735, allocations: 12.03 kB / 0.6986 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008288/0.6743, allocations: 0.508 MB / 0.6991 GB, free: 440 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002197/0.6765, allocations: 0.732 MB / 0.6998 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002849/0.6793, allocations: 1.399 MB / 0.7012 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004558/0.6798, allocations: 437.4 kB / 0.7016 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006242/0.6804, allocations: 344.3 kB / 0.7019 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01441/0.6948, allocations: 10.65 MB / 0.7123 GB, free: 2.789 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-05/0.6949, allocations: 0 / 0.7123 GB, free: 2.789 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002694/0.6952, allocations: 132 kB / 0.7124 GB, free: 2.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005409/0.6957, allocations: 475.7 kB / 0.7129 GB, free: 2.195 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2483/0.944, allocations: 19.86 MB / 0.7323 GB, free: 186.7 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.0303/0.9743, allocations: 17.78 MB / 0.7497 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003614/0.9779, allocations: 2.249 MB / 0.7519 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002738/0.9807, allocations: 1.716 MB / 0.7535 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01638/0.9971, allocations: 8.17 MB / 0.7615 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.9971, allocations: 45.88 kB / 0.7615 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=136): time 4.197e-06/0.9971, allocations: 0 / 0.7615 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=190): time 0.09266/1.09, allocations: 23.03 MB / 0.784 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01164/1.101, allocations: 6.062 MB / 0.79 GB, free: 147 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002467/1.104, allocations: 2.398 MB / 0.7923 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007616/1.105, allocations: 53.7 kB / 0.7923 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008616/1.105, allocations: 1.843 MB / 0.7942 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008659/1.106, allocations: 0.6741 MB / 0.7948 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001121/1.107, allocations: 0.6828 MB / 0.7955 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.859e-05/1.108, allocations: 301.1 kB / 0.7958 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003156/1.111, allocations: 2.455 MB / 0.7982 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003516/1.114, allocations: 3.222 MB / 0.8013 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1537/1.268, allocations: 28.79 MB / 0.8294 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-05/1.268, allocations: 4 kB / 0.8294 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01981/1.288, allocations: 8.087 MB / 0.8373 GB, free: 98.31 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/1.288, allocations: 16 kB / 0.8373 GB, free: 98.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.202e-05/1.288, allocations: 24 kB / 0.8374 GB, free: 98.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02152/1.309, allocations: 4.374 MB / 0.8416 GB, free: 93.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00518/1.314, allocations: 0.9741 MB / 0.8426 GB, free: 92.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01106/1.326, allocations: 9.9 MB / 0.8523 GB, free: 82.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003882/1.329, allocations: 154.9 kB / 0.8524 GB, free: 82.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009638/1.33, allocations: 419.8 kB / 0.8528 GB, free: 82.1 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.002328/1.333, allocations: 0.9252 MB / 0.8537 GB, free: 81.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007877/1.333, allocations: 262.3 kB / 0.854 GB, free: 80.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02732/1.361, allocations: 8.346 MB / 0.8621 GB, free: 72.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-05/1.361, allocations: 20 kB / 0.8621 GB, free: 72.62 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.213e-05/1.361, allocations: 7.938 kB / 0.8621 GB, free: 72.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.829e-05/1.361, allocations: 11.91 kB / 0.8621 GB, free: 72.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03346/1.394, allocations: 12.87 MB / 0.8747 GB, free: 59.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.242e-05/1.394, allocations: 7.938 kB / 0.8747 GB, free: 59.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004556/1.399, allocations: 0.6988 MB / 0.8754 GB, free: 58.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02159/1.421, allocations: 4.024 MB / 0.8793 GB, free: 54.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007276/1.421, allocations: 115.9 kB / 0.8794 GB, free: 54.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02891/1.45, allocations: 16.7 MB / 0.8958 GB, free: 37.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.009891/1.46, allocations: 4.703 MB / 0.9003 GB, free: 32.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02845/1.489, allocations: 9.866 MB / 0.91 GB, free: 22.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007287/1.489, allocations: 278.1 kB / 0.9102 GB, free: 22.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008644/1.49, allocations: 48.06 kB / 0.9103 GB, free: 22.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002756/1.493, allocations: 111.9 kB / 0.9104 GB, free: 21.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000848/1.494, allocations: 229.5 kB / 0.9106 GB, free: 21.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000353/1.494, allocations: 207.9 kB / 0.9108 GB, free: 21.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002255/1.496, allocations: 1.847 MB / 0.9126 GB, free: 19.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.496, allocations: 0 / 0.9126 GB, free: 19.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003733/1.5, allocations: 0.984 MB / 0.9136 GB, free: 18.66 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.02865/1.529, allocations: 10.25 MB / 0.9236 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01112/1.54, allocations: 5.438 MB / 0.9289 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/1.54, allocations: 4 kB / 0.9289 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007314/1.547, allocations: 3.141 MB / 0.932 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00292/1.55, allocations: 0.5679 MB / 0.9325 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3098/1.86, allocations: 37.65 MB / 0.9693 GB, free: 182.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002464/1.862, allocations: 1.672 MB / 0.9709 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003503/1.866, allocations: 0.9571 MB / 0.9719 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002303/1.868, allocations: 1.689 MB / 0.9735 GB, free: 181.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.212e-06/1.868, allocations: 3.391 kB / 0.9735 GB, free: 181.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1491/2.017, allocations: 106.2 MB / 1.077 GB, free: 84.62 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.24/20.26, allocations: 0 / 1.077 GB, free: 84.62 MB / 0.5762 GB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Examples_WaterVaporization_fmu --startTime=0 --stopTime=400 --stepSize=0.16 --timeout=50 --tolerance=1e-08 Chemical_master_Chemical_Examples_WaterVaporization.fmu > Chemical_master_Chemical.Examples.WaterVaporization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.04218242224306] Failed to read output from testmodel.py, exit status != 0: 20.443689536768943 20.457666647 19.788770326 Calling exit ...