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.00186/0.00186, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001709/0.001709, allocations: 212.1 kB / 22.25 MB, free: 5.086 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.407/1.407, allocations: 230.6 MB / 256 MB, free: 8.027 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.134/0.134, allocations: 23.9 MB / 336.3 MB, free: 11.15 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.00202/0.00202, allocations: 71.89 kB / 471.2 MB, free: 7.637 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3068, allocations: 59.87 MB / 0.5186 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01182/0.3186, allocations: 13.63 MB / 0.532 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2101/0.5287, allocations: 167.8 MB / 0.6958 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003311/0.532, allocations: 55.69 kB / 0.6958 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004555/0.5366, allocations: 1.196 MB / 0.697 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005311/0.5419, allocations: 1.338 MB / 0.6983 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004992/0.5469, allocations: 1.681 MB / 0.6999 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007225/0.5541, allocations: 3.716 MB / 0.7036 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001789/0.5559, allocations: 0.7287 MB / 0.7043 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002513/0.5584, allocations: 1.312 MB / 0.7056 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003351/0.5618, allocations: 1.77 MB / 0.7073 GB, free: 8.297 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001063/0.5628, allocations: 320 kB / 0.7076 GB, free: 7.984 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005263/0.5681, allocations: 1.775 MB / 0.7093 GB, free: 6.207 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001394/0.5695, allocations: 0.9185 MB / 0.7102 GB, free: 5.285 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003296/0.5728, allocations: 1.857 MB / 0.712 GB, free: 3.418 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01026/0.583, allocations: 5.546 MB / 0.7175 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.583, allocations: 0 / 0.7175 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.803e-06/0.583, allocations: 0 / 0.7175 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001731/0.5832, allocations: 8 kB / 0.7175 GB, free: 13.84 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 993 * Number of variables: 993 Notification: Performance of Generate backend data structure: time 0.008662/0.5919, allocations: 3.94 MB / 0.7213 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.5919, allocations: 8.031 kB / 0.7213 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009896/0.5929, allocations: 0.4918 MB / 0.7218 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/0.5947, allocations: 0.6385 MB / 0.7224 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002832/0.5976, allocations: 1.376 MB / 0.7238 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005061/0.5981, allocations: 433.2 kB / 0.7242 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006141/0.5987, allocations: 320.3 kB / 0.7245 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2303/0.8289, allocations: 10.22 MB / 0.7345 GB, free: 187 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.486e-05/0.829, allocations: 1.156 kB / 0.7345 GB, free: 187 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002079/0.8292, allocations: 128.6 kB / 0.7346 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004833/0.8297, allocations: 475 kB / 0.7351 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0189/0.8486, allocations: 18.73 MB / 0.7533 GB, free: 179.9 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.02359/0.8722, allocations: 19.02 MB / 0.7719 GB, free: 166 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002722/0.8749, allocations: 2.273 MB / 0.7741 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.8765, allocations: 1.606 MB / 0.7757 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01233/0.8889, allocations: 8.38 MB / 0.7839 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.8889, allocations: 46.47 kB / 0.7839 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=131): time 3.446e-06/0.8889, allocations: 0 / 0.7839 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=185): time 0.08562/0.9745, allocations: 22.33 MB / 0.8057 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05101/1.026, allocations: 16.6 MB / 0.8219 GB, free: 115 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/1.028, allocations: 2.36 MB / 0.8243 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005141/1.028, allocations: 53.7 kB / 0.8243 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007886/1.029, allocations: 1.812 MB / 0.8261 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006908/1.03, allocations: 0.6546 MB / 0.8267 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001032/1.031, allocations: 0.6631 MB / 0.8274 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.926e-05/1.031, allocations: 305.1 kB / 0.8277 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002849/1.034, allocations: 2.382 MB / 0.83 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003191/1.037, allocations: 3.161 MB / 0.8331 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.147/1.184, allocations: 27.93 MB / 0.8603 GB, free: 75.38 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.045e-05/1.184, allocations: 10.66 kB / 0.8603 GB, free: 75.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.01959/1.204, allocations: 7.912 MB / 0.8681 GB, free: 67.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.891e-05/1.204, allocations: 19.98 kB / 0.8681 GB, free: 67.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.936e-05/1.204, allocations: 28 kB / 0.8681 GB, free: 67.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02135/1.225, allocations: 4.379 MB / 0.8724 GB, free: 63.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003948/1.229, allocations: 0.7594 MB / 0.8731 GB, free: 62.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/1.24, allocations: 9.995 MB / 0.8829 GB, free: 51.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003357/1.243, allocations: 130.6 kB / 0.883 GB, free: 51.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006649/1.244, allocations: 407.8 kB / 0.8834 GB, free: 51.4 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 (249): * Single equations (assignments): 242 * 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.002062/1.246, allocations: 0.9091 MB / 0.8843 GB, free: 50.49 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006949/1.247, allocations: 266.3 kB / 0.8846 GB, free: 50.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02438/1.271, allocations: 8.055 MB / 0.8924 GB, free: 42.22 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.348e-05/1.271, allocations: 20 kB / 0.8924 GB, free: 42.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-05/1.271, allocations: 7.984 kB / 0.8924 GB, free: 42.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.906e-05/1.271, allocations: 11.97 kB / 0.8925 GB, free: 42.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02989/1.301, allocations: 13.47 MB / 0.9056 GB, free: 28.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.27e-05/1.301, allocations: 0 / 0.9056 GB, free: 28.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003036/1.304, allocations: 451.7 kB / 0.906 GB, free: 27.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03119/1.335, allocations: 5.128 MB / 0.911 GB, free: 22.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004915/1.336, allocations: 103.9 kB / 0.9111 GB, free: 22.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02456/1.36, allocations: 16.08 MB / 0.9269 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05153/1.412, allocations: 14.8 MB / 0.9413 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2512/1.663, allocations: 9.483 MB / 0.9506 GB, free: 187.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006743/1.664, allocations: 267.9 kB / 0.9508 GB, free: 187.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006474/1.664, allocations: 45.39 kB / 0.9509 GB, free: 187.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002381/1.667, allocations: 82.44 kB / 0.9509 GB, free: 187.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007357/1.667, allocations: 213 kB / 0.9512 GB, free: 187.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003809/1.668, allocations: 193.4 kB / 0.9513 GB, free: 187.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002697/1.671, allocations: 1.849 MB / 0.9531 GB, free: 187.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/1.671, allocations: 0 / 0.9531 GB, free: 187.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003705/1.674, allocations: 0.9973 MB / 0.9541 GB, free: 187.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 ($STATESET1.x,H2O_gaseuous.logn,otherSubstances.logn,liquidWater.substance.amountOfBonds,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 (131): * Single equations (assignments): 124 * 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 {(9,25), (2,3), (1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0281/1.702, allocations: 9.908 MB / 0.9638 GB, free: 183.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01153/1.714, allocations: 5.255 MB / 0.9689 GB, free: 181.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/1.714, allocations: 0 / 0.9689 GB, free: 181.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007735/1.722, allocations: 3.038 MB / 0.9719 GB, free: 180.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002879/1.725, allocations: 0.5571 MB / 0.9724 GB, free: 180 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07888/1.803, allocations: 36.88 MB / 1.008 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001568/1.805, allocations: 2.22 MB / 1.011 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003306/1.808, allocations: 0.924 MB / 1.012 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002406/1.811, allocations: 1.67 MB / 1.013 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.282e-06/1.811, allocations: 2.656 kB / 1.013 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1578/1.969, allocations: 110.3 MB / 1.121 GB, free: 41.37 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.32/22.29, allocations: 14.61 kB / 1.121 GB, free: 41.36 MB / 0.5762 GB " [Timeout remaining time 638] (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: 25.029249241109937] Failed to read output from testmodel.py, exit status != 0: 22.465047486126423 22.476886112 21.891404919 Calling exit ...