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.0008097/0.0008097, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.000839/0.000839, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8304/0.8304, 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.07861/0.07861, allocations: 17.44 MB / 276.6 MB, free: 11.77 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.082e-06/1.082e-06, allocations: 0 / 411.6 MB, free: 264 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.636e-06/9.718e-06, allocations: 2.281 kB / 411.6 MB, free: 260 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.008802/0.008811, allocations: 12.14 MB / 423.7 MB, free: 4.055 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.368/0.3768, allocations: 148.6 MB / 0.5589 GB, free: 10.36 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.3781, allocations: 87.12 kB / 0.559 GB, free: 10.32 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00219/0.3803, allocations: 1.254 MB / 0.5602 GB, free: 9.434 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00228/0.3826, allocations: 1.684 MB / 0.5619 GB, free: 8.035 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002741/0.3853, allocations: 1.912 MB / 0.5638 GB, free: 6.504 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002657/0.388, allocations: 4.161 MB / 0.5678 GB, free: 3.984 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000615/0.3886, allocations: 0.7163 MB / 0.5685 GB, free: 3.52 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.3897, allocations: 2.118 MB / 0.5706 GB, free: 2.199 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.3908, allocations: 1.507 MB / 0.5721 GB, free: 0.9453 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.000227/0.3911, allocations: 332 kB / 0.5724 GB, free: 0.6211 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.3926, allocations: 1.505 MB / 0.5738 GB, free: 15.11 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0004605/0.3931, allocations: 1.047 MB / 0.5749 GB, free: 14.06 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000909/0.394, allocations: 1.212 MB / 0.576 GB, free: 12.85 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003313/0.3973, allocations: 5.705 MB / 0.5816 GB, free: 7.125 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3973, allocations: 0 / 0.5816 GB, free: 7.125 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3973, allocations: 3.938 kB / 0.5816 GB, free: 7.121 MB / 474.8 MB Notification: Performance of Transformations before backend: time 2.392e-05/0.3974, allocations: 0 / 0.5816 GB, free: 7.121 MB / 474.8 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.003508/0.4009, allocations: 4.062 MB / 0.5856 GB, free: 3.012 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.4009, allocations: 16.03 kB / 0.5856 GB, free: 2.996 MB / 474.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003669/0.4013, allocations: 0.508 MB / 0.5861 GB, free: 2.48 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.4023, allocations: 0.7711 MB / 0.5869 GB, free: 1.711 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.4041, allocations: 1.946 MB / 0.5888 GB, free: 15.72 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002247/0.4043, allocations: 429.4 kB / 0.5892 GB, free: 15.26 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002602/0.4045, allocations: 336.3 kB / 0.5895 GB, free: 14.93 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00745/0.412, allocations: 10.65 MB / 0.5999 GB, free: 4.266 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.312e-05/0.412, allocations: 4.375 kB / 0.5999 GB, free: 4.262 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/0.4122, allocations: 139.9 kB / 0.6 GB, free: 4.125 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002759/0.4125, allocations: 475.7 kB / 0.6005 GB, free: 3.66 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1477/0.5602, allocations: 19.84 MB / 0.6198 GB, free: 158.3 MB / 0.4949 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.01581/0.576, allocations: 17.81 MB / 0.6372 GB, free: 150.4 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.5779, allocations: 2.263 MB / 0.6395 GB, free: 149.4 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.5792, allocations: 1.727 MB / 0.6411 GB, free: 148.6 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007972/0.5872, allocations: 8.157 MB / 0.6491 GB, free: 145.1 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.5872, allocations: 49.78 kB / 0.6492 GB, free: 145.1 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=136): time 2.655e-06/0.5872, allocations: 2.25 kB / 0.6492 GB, free: 145.1 MB / 0.4949 GB Notification: Performance of matching and sorting (n=190): time 0.04456/0.6318, allocations: 21.79 MB / 0.6704 GB, free: 137.1 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006581/0.6384, allocations: 6.041 MB / 0.6763 GB, free: 133 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/0.6403, allocations: 2.406 MB / 0.6787 GB, free: 131.3 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0001825/0.6404, allocations: 61.7 kB / 0.6787 GB, free: 131.3 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006497/0.6411, allocations: 1.826 MB / 0.6805 GB, free: 129.7 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004033/0.6415, allocations: 0.6721 MB / 0.6812 GB, free: 129.1 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008523/0.6423, allocations: 0.6848 MB / 0.6818 GB, free: 128.5 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 2.204e-05/0.6424, allocations: 309.1 kB / 0.6821 GB, free: 128.2 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002199/0.6446, allocations: 2.46 MB / 0.6845 GB, free: 126 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002262/0.6468, allocations: 3.217 MB / 0.6877 GB, free: 122.8 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07637/0.7232, allocations: 29.07 MB / 0.7161 GB, free: 94.03 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.56e-05/0.7232, allocations: 10.66 kB / 0.7161 GB, free: 94.02 MB / 0.4949 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01091/0.7341, allocations: 8.12 MB / 0.724 GB, free: 85.92 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.7342, allocations: 16 kB / 0.724 GB, free: 85.91 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/0.7342, allocations: 31.17 kB / 0.7241 GB, free: 85.88 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01064/0.7448, allocations: 4.406 MB / 0.7284 GB, free: 81.52 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002358/0.7472, allocations: 0.9826 MB / 0.7293 GB, free: 80.55 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006508/0.7537, allocations: 9.896 MB / 0.739 GB, free: 70.24 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.7555, allocations: 151.8 kB / 0.7391 GB, free: 70.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000354/0.7559, allocations: 431.8 kB / 0.7395 GB, free: 69.68 MB / 0.4949 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.001595/0.7575, allocations: 0.9086 MB / 0.7404 GB, free: 68.76 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004349/0.7579, allocations: 298.3 kB / 0.7407 GB, free: 68.47 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01376/0.7717, allocations: 8.341 MB / 0.7489 GB, free: 60.15 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.7717, allocations: 20 kB / 0.7489 GB, free: 60.13 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.7717, allocations: 15.92 kB / 0.7489 GB, free: 60.12 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.7717, allocations: 11.91 kB / 0.7489 GB, free: 60.11 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01696/0.7887, allocations: 12.87 MB / 0.7615 GB, free: 46.99 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.7887, allocations: 4 kB / 0.7615 GB, free: 46.98 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002005/0.7907, allocations: 0.6987 MB / 0.7622 GB, free: 46.29 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01027/0.801, allocations: 4.068 MB / 0.7661 GB, free: 42.2 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/0.8011, allocations: 119.8 kB / 0.7662 GB, free: 42.08 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01559/0.8167, allocations: 16.69 MB / 0.7825 GB, free: 24.79 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004973/0.8217, allocations: 4.716 MB / 0.7872 GB, free: 19.81 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01492/0.8366, allocations: 9.872 MB / 0.7968 GB, free: 9.871 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004712/0.8371, allocations: 278.1 kB / 0.7971 GB, free: 9.598 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/0.8374, allocations: 39.94 kB / 0.7971 GB, free: 9.559 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.8386, allocations: 115.9 kB / 0.7972 GB, free: 9.445 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000462/0.8391, allocations: 225.5 kB / 0.7974 GB, free: 9.223 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001999/0.8393, allocations: 211.9 kB / 0.7976 GB, free: 9.016 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001388/0.8407, allocations: 1.847 MB / 0.7994 GB, free: 7.16 MB / 0.4949 GB Notification: Performance of sort global known variables: time 5e-08/0.8407, allocations: 4 kB / 0.7994 GB, free: 7.156 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.002136/0.8428, allocations: 1.015 MB / 0.8004 GB, free: 6.141 MB / 0.4949 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.1611/1.004, allocations: 10.29 MB / 0.8105 GB, free: 148.3 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.006281/1.01, allocations: 5.437 MB / 0.8158 GB, free: 146.3 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.01, allocations: 2.656 kB / 0.8158 GB, free: 146.3 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003619/1.014, allocations: 3.136 MB / 0.8188 GB, free: 144.8 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/1.016, allocations: 0.5768 MB / 0.8194 GB, free: 144.7 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04841/1.064, allocations: 38.13 MB / 0.8566 GB, free: 127.9 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001653/1.066, allocations: 1.677 MB / 0.8583 GB, free: 127.6 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.002268/1.068, allocations: 1.013 MB / 0.8593 GB, free: 127.4 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001574/1.069, allocations: 1.709 MB / 0.8609 GB, free: 126.1 MB / 0.4949 GB Notification: Performance of SimCode: time 8.91e-07/1.069, allocations: 0 / 0.8609 GB, free: 126.1 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09721/1.167, allocations: 107.4 MB / 0.9659 GB, free: 24.55 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/11.67, allocations: 0 / 0.9659 GB, free: 24.55 MB / 0.4949 GB " [Timeout remaining time 648] (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: 13.445979464799166] Failed to read output from testmodel.py, exit status != 0: 11.807960930280387 11.814850656 11.416217687 Calling exit ...