Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.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.001772/0.001772, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002407/0.002407, allocations: 220.5 kB / 23.03 MB, free: 4.922 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.547/1.547, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1364/0.1364, allocations: 23.88 MB / 337.1 MB, free: 10.97 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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.Obsolete.Examples.WaterVaporization,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_WaterVaporization",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterVaporization,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_WaterVaporization",fmuType="cs",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.002421/0.002421, allocations: 59.91 kB / 471.9 MB, free: 7.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.371, allocations: 59.87 MB / 0.5193 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.007576/0.3786, allocations: 5.869 MB / 0.525 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01732/0.3959, allocations: 12.91 MB / 0.5376 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.3973, allocations: 21.06 kB / 0.5376 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.3984, allocations: 316.3 kB / 0.538 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004277/0.4027, allocations: 1.092 MB / 0.539 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008391/0.4111, allocations: 2 MB / 0.541 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003696/0.4147, allocations: 1.618 MB / 0.5425 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00181/0.4166, allocations: 0.812 MB / 0.5433 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001973/0.4185, allocations: 0.7798 MB / 0.5441 GB, free: 9.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00175/0.4203, allocations: 0.8455 MB / 0.5449 GB, free: 8.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003024/0.4206, allocations: 150.1 kB / 0.5451 GB, free: 8.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007038/0.4276, allocations: 1.427 MB / 0.5465 GB, free: 8.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005673/0.4282, allocations: 347.5 kB / 0.5468 GB, free: 8.293 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001501/0.4297, allocations: 0.6237 MB / 0.5474 GB, free: 7.973 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.4407, allocations: 3.223 MB / 0.5506 GB, free: 6.176 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.4407, allocations: 1.375 kB / 0.5506 GB, free: 6.176 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4407, allocations: 0 / 0.5506 GB, free: 6.176 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.269e-05/0.4407, allocations: 0 / 0.5506 GB, free: 6.176 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.004411/0.4451, allocations: 1.8 MB / 0.5523 GB, free: 4.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.4452, allocations: 12.97 kB / 0.5523 GB, free: 4.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.936e-05/0.4452, allocations: 37.12 kB / 0.5524 GB, free: 4.898 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002376/0.4454, allocations: 192 kB / 0.5525 GB, free: 4.742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.4469, allocations: 314 kB / 0.5528 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.4484, allocations: 0.6198 MB / 0.5534 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.4486, allocations: 95.62 kB / 0.5535 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002874/0.4488, allocations: 136.7 kB / 0.5537 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002813/0.4517, allocations: 1.536 MB / 0.5552 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.4517, allocations: 3.938 kB / 0.5552 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.4518, allocations: 50.44 kB / 0.5552 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.392e-05/0.4518, allocations: 39.33 kB / 0.5553 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002954/0.4548, allocations: 1.876 MB / 0.5571 GB, free: 2.219 MB / 398.1 MB 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.007359/0.4621, allocations: 3.682 MB / 0.5607 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002052/0.4642, allocations: 1.261 MB / 0.5619 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007851/0.465, allocations: 491.7 kB / 0.5624 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005966/0.471, allocations: 2.641 MB / 0.565 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.471, allocations: 39.22 kB / 0.565 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005569/0.4715, allocations: 95.33 kB / 0.5651 GB, free: 10.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 5.471e-06/0.4716, allocations: 0 / 0.5651 GB, free: 10.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.02166/0.4932, allocations: 4.212 MB / 0.5692 GB, free: 6.379 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/0.4933, allocations: 68.39 kB / 0.5693 GB, free: 6.297 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.4945, allocations: 0.5822 MB / 0.5698 GB, free: 5.703 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002019/0.4947, allocations: 45.7 kB / 0.5699 GB, free: 5.652 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006401/0.4954, allocations: 0.5898 MB / 0.5705 GB, free: 5.055 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005292/0.4959, allocations: 364.9 kB / 0.5708 GB, free: 4.695 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005246/0.4964, allocations: 238.8 kB / 0.571 GB, free: 4.457 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002621/0.4967, allocations: 394.7 kB / 0.5714 GB, free: 4.062 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008761/0.4976, allocations: 422.4 kB / 0.5718 GB, free: 3.648 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.4988, allocations: 0.7862 MB / 0.5726 GB, free: 2.699 MB / 414.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: gas.temperature = gas.temperature_start (liquid.temperature_start = gas.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02878/0.5275, allocations: 4.489 MB / 0.577 GB, free: 14.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.729e-06/0.5275, allocations: 7.938 kB / 0.577 GB, free: 14.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.006509/0.5341, allocations: 1.782 MB / 0.5787 GB, free: 12.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.5341, allocations: 8 kB / 0.5787 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.5341, allocations: 16.84 kB / 0.5787 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004074/0.5382, allocations: 481.1 kB / 0.5792 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.5393, allocations: 291.6 kB / 0.5795 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008183/0.5475, allocations: 4.147 MB / 0.5835 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.5486, allocations: 48.05 kB / 0.5836 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002787/0.5488, allocations: 71.97 kB / 0.5836 GB, free: 6.961 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: gas.temperature = gas.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007301/0.5496, allocations: 281.9 kB / 0.5839 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003722/0.5499, allocations: 91.42 kB / 0.584 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007647/0.5576, allocations: 1.754 MB / 0.5857 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.386e-05/0.5576, allocations: 12 kB / 0.5857 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.43e-05/0.5576, allocations: 3.938 kB / 0.5857 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.255e-05/0.5576, allocations: 7.984 kB / 0.5857 GB, free: 4.785 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/0.5678, allocations: 2.745 MB / 0.5884 GB, free: 1.953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.5678, allocations: 4 kB / 0.5884 GB, free: 1.949 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008515/0.5687, allocations: 199.8 kB / 0.5886 GB, free: 1.754 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005361/0.574, allocations: 0.5364 MB / 0.5891 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002458/0.5743, allocations: 35.98 kB / 0.5892 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009337/0.5836, allocations: 5.309 MB / 0.5944 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.5836, allocations: 12 kB / 0.5944 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008124/0.5917, allocations: 2.332 MB / 0.5966 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003538/0.5921, allocations: 91.36 kB / 0.5967 GB, free: 9.027 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/0.5923, allocations: 24 kB / 0.5968 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006898/0.593, allocations: 24 kB / 0.5968 GB, free: 8.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002951/0.5933, allocations: 108.7 kB / 0.5969 GB, free: 8.871 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/0.5935, allocations: 47.98 kB / 0.5969 GB, free: 8.824 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006279/0.5941, allocations: 395 kB / 0.5973 GB, free: 8.441 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5941, allocations: 4 kB / 0.5973 GB, free: 8.438 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00261/0.5967, allocations: 0.5924 MB / 0.5979 GB, free: 7.844 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (H2O_gaseuous.logn,otherSubstances.logn,liquidWater.amountOfBonds,liquidWater.logn) * 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 (100): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01005/0.6067, allocations: 3.416 MB / 0.6012 GB, free: 4.359 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00283/0.6096, allocations: 1.395 MB / 0.6026 GB, free: 2.938 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.6096, allocations: 0 / 0.6026 GB, free: 2.938 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001594/0.6112, allocations: 0.9628 MB / 0.6035 GB, free: 1.938 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.6126, allocations: 202.7 kB / 0.6037 GB, free: 1.746 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02236/0.6349, allocations: 9.599 MB / 0.6131 GB, free: 7.625 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007996/0.6357, allocations: 494.2 kB / 0.6136 GB, free: 7.109 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001011/0.6368, allocations: 234.8 kB / 0.6138 GB, free: 6.879 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008362/0.6376, allocations: 0.4953 MB / 0.6143 GB, free: 6.383 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/0.6376, allocations: 0 / 0.6143 GB, free: 6.383 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07956/0.7172, allocations: 34.05 MB / 0.6475 GB, free: 4.727 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.13/17.85, allocations: 4 kB / 0.6475 GB, free: 4.723 MB / 494.1 MB " [Timeout remaining time 642] (rm -f Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.WaterVaporization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_WaterVaporization_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-08 Chemical_Chemical_Obsolete_Examples_WaterVaporization.fmu > Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.733620807062835] Failed to read output from testmodel.py, exit status != 0: 18.05085911799688 18.078904869 17.633052851 Calling exit ...