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: 84.05 kB / 19.18 MB, free: 2.523 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.001508/0.001508, allocations: 169.9 kB / 22.46 MB, free: 5.359 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.449/1.449, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.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.1351/0.1351, allocations: 17.45 MB / 276.6 MB, free: 15.23 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: translateModel(Chemical.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.WaterVaporization") translateModel(Chemical.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.WaterVaporization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 412.1 MB, free: 4.312 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.057e-05/3.223e-05, allocations: 2.281 kB / 412.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01522/0.01525, allocations: 12.15 MB / 424.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.5608/0.576, allocations: 148.6 MB / 0.5594 GB, free: 2.977 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004061/0.5801, allocations: 87.31 kB / 0.5595 GB, free: 2.891 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005228/0.5853, allocations: 1.246 MB / 0.5607 GB, free: 1.637 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007034/0.5924, allocations: 1.695 MB / 0.5624 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006692/0.5991, allocations: 1.908 MB / 0.5643 GB, free: 14.02 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.008435/0.6075, allocations: 4.162 MB / 0.5683 GB, free: 9.848 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.6091, allocations: 0.7189 MB / 0.569 GB, free: 9.082 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003852/0.6129, allocations: 2.116 MB / 0.5711 GB, free: 6.961 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002799/0.6157, allocations: 1.515 MB / 0.5726 GB, free: 5.441 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004992/0.6162, allocations: 328 kB / 0.5729 GB, free: 5.121 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004213/0.6204, allocations: 1.509 MB / 0.5744 GB, free: 3.609 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000998/0.6214, allocations: 1.043 MB / 0.5754 GB, free: 2.562 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001805/0.6232, allocations: 1.215 MB / 0.5766 GB, free: 1.344 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009627/0.6329, allocations: 5.699 MB / 0.5821 GB, free: 11.63 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.6329, allocations: 4 kB / 0.5821 GB, free: 11.62 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.6329, allocations: 0 / 0.5821 GB, free: 11.62 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001182/0.633, allocations: 0 / 0.5821 GB, free: 11.62 MB / 478.1 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.007097/0.6401, allocations: 4.061 MB / 0.5861 GB, free: 7.512 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.6401, allocations: 12.03 kB / 0.5861 GB, free: 7.5 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/0.6423, allocations: 0.7778 MB / 0.5869 GB, free: 6.723 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00318/0.6455, allocations: 1.946 MB / 0.5888 GB, free: 4.727 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003841/0.6459, allocations: 429.5 kB / 0.5892 GB, free: 4.27 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005149/0.6464, allocations: 344.3 kB / 0.5895 GB, free: 3.934 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01404/0.6604, allocations: 10.64 MB / 0.5999 GB, free: 9.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.341e-05/0.6605, allocations: 192 / 0.5999 GB, free: 9.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002794/0.6608, allocations: 136.3 kB / 0.6 GB, free: 9.137 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006054/0.6614, allocations: 475.7 kB / 0.6005 GB, free: 8.672 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02322/0.6846, allocations: 19.86 MB / 0.6199 GB, free: 4.809 MB / 0.4982 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.2549/0.9395, allocations: 17.01 MB / 0.6365 GB, free: 174.5 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004116/0.9436, allocations: 2.25 MB / 0.6387 GB, free: 173.5 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00291/0.9465, allocations: 1.724 MB / 0.6404 GB, free: 172.8 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01699/0.9635, allocations: 8.062 MB / 0.6482 GB, free: 168.8 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.9635, allocations: 48.91 kB / 0.6483 GB, free: 168.8 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=136): time 4.819e-06/0.9636, allocations: 0 / 0.6483 GB, free: 168.8 MB / 0.4982 GB Notification: Performance of matching and sorting (n=190): time 0.09476/1.058, allocations: 21.73 MB / 0.6695 GB, free: 149.6 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01282/1.071, allocations: 6.016 MB / 0.6754 GB, free: 143.4 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002366/1.074, allocations: 1.685 MB / 0.677 GB, free: 141.7 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0008575/1.074, allocations: 60.38 kB / 0.6771 GB, free: 141.6 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009173/1.075, allocations: 1.858 MB / 0.6789 GB, free: 140 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001105/1.076, allocations: 0.6689 MB / 0.6796 GB, free: 139.3 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002164/1.079, allocations: 0.6802 MB / 0.6802 GB, free: 138.6 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 3.69e-05/1.079, allocations: 301.1 kB / 0.6805 GB, free: 138.3 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003709/1.082, allocations: 2.458 MB / 0.6829 GB, free: 135.9 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004007/1.086, allocations: 3.228 MB / 0.6861 GB, free: 132.3 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1668/1.253, allocations: 29.07 MB / 0.7145 GB, free: 103.3 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-05/1.253, allocations: 8 kB / 0.7145 GB, free: 103.3 MB / 0.4982 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.02153/1.275, allocations: 8.07 MB / 0.7223 GB, free: 95.24 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 4.711e-05/1.275, allocations: 12 kB / 0.7224 GB, free: 95.23 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-05/1.275, allocations: 31.98 kB / 0.7224 GB, free: 95.2 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02335/1.298, allocations: 4.396 MB / 0.7267 GB, free: 90.84 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005604/1.304, allocations: 0.9896 MB / 0.7276 GB, free: 89.87 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/1.316, allocations: 9.835 MB / 0.7373 GB, free: 79.66 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003921/1.32, allocations: 150.6 kB / 0.7374 GB, free: 79.52 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009235/1.32, allocations: 431.8 kB / 0.7378 GB, free: 79.09 MB / 0.4982 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.002597/1.323, allocations: 0.9102 MB / 0.7387 GB, free: 78.18 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/1.324, allocations: 242.5 kB / 0.7389 GB, free: 77.94 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02928/1.353, allocations: 8.312 MB / 0.747 GB, free: 69.69 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.861e-05/1.353, allocations: 20 kB / 0.7471 GB, free: 69.67 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.27e-05/1.353, allocations: 4 kB / 0.7471 GB, free: 69.66 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.483e-05/1.354, allocations: 15.95 kB / 0.7471 GB, free: 69.65 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03702/1.391, allocations: 12.63 MB / 0.7594 GB, free: 56.79 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.719e-05/1.391, allocations: 4 kB / 0.7594 GB, free: 56.79 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005111/1.396, allocations: 0.6949 MB / 0.7601 GB, free: 56.09 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02333/1.419, allocations: 4.07 MB / 0.7641 GB, free: 52 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007937/1.42, allocations: 115.9 kB / 0.7642 GB, free: 51.89 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02999/1.45, allocations: 16.57 MB / 0.7804 GB, free: 34.77 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01055/1.46, allocations: 4.669 MB / 0.7849 GB, free: 29.87 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03129/1.492, allocations: 9.825 MB / 0.7945 GB, free: 19.97 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006643/1.492, allocations: 194.5 kB / 0.7947 GB, free: 19.78 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001186/1.494, allocations: 47.83 kB / 0.7947 GB, free: 19.73 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003291/1.497, allocations: 115.9 kB / 0.7949 GB, free: 19.62 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001143/1.498, allocations: 229.5 kB / 0.7951 GB, free: 19.39 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005841/1.499, allocations: 203.9 kB / 0.7953 GB, free: 19.19 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.00212/1.501, allocations: 1.333 MB / 0.7966 GB, free: 17.84 MB / 0.4982 GB Notification: Performance of sort global known variables: time 9.1e-08/1.501, allocations: 4 kB / 0.7966 GB, free: 17.83 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.004342/1.505, allocations: 1.011 MB / 0.7976 GB, free: 16.82 MB / 0.4982 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.001294/1.506, allocations: 447.6 kB / 0.798 GB, free: 16.44 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01168/1.518, allocations: 5.454 MB / 0.8033 GB, free: 10.95 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/1.518, allocations: 0 / 0.8033 GB, free: 10.95 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.007797/1.526, allocations: 3.127 MB / 0.8064 GB, free: 7.766 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003557/1.529, allocations: 0.5003 MB / 0.8069 GB, free: 7.297 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2383/1.768, allocations: 7.562 MB / 0.8142 GB, free: 167.2 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002835/1.77, allocations: 1.682 MB / 0.8159 GB, free: 167.1 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.003745/1.774, allocations: 0.9567 MB / 0.8168 GB, free: 167 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/1.776, allocations: 363.6 kB / 0.8172 GB, free: 167 MB / 0.4982 GB Notification: Performance of SimCode: time 8.92e-07/1.776, allocations: 0 / 0.8172 GB, free: 167 MB / 0.4982 GB Notification: Performance of Templates: time 0.1044/1.88, allocations: 72.31 MB / 0.8878 GB, free: 113.6 MB / 0.4982 GB " [Timeout remaining time 658] make -j1 -f Chemical_master_Chemical.Examples.WaterVaporization.makefile [Timeout 660] (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 & ./Chemical_master_Chemical.Examples.WaterVaporization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Examples.WaterVaporization.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.200166005641222] Failed to read output from testmodel.py, exit status != 0: 1.8900660201907158 1.9001772239999999 1.26487291 Calling exit ...