Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.WaterVaporization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Chemical.Examples.WaterVaporization,fileNamePrefix="Chemical_Chemical_Examples_WaterVaporization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterVaporization,fileNamePrefix="Chemical_Chemical_Examples_WaterVaporization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002358/0.002358, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003482/0.003483, allocations: 196.2 kB / 16.53 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.995/2.995, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.5403/0.5403, allocations: 15.32 MB / 305.7 MB, free: 15.33 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002002, allocations: 59.91 kB / 370.4 MB, free: 3.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2351, allocations: 53.61 MB / 424 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01243/0.2477, allocations: 6.518 MB / 430.6 MB, free: 7.629 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.5194/0.7671, allocations: 14.57 MB / 445.1 MB, free: 41.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002822/0.7701, allocations: 14.62 kB / 445.1 MB, free: 41.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002296/0.7724, allocations: 343.9 kB / 445.5 MB, free: 41.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007558/0.7801, allocations: 1.097 MB / 446.6 MB, free: 41.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01069/0.7909, allocations: 1.962 MB / 448.5 MB, free: 41.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004568/0.7955, allocations: 1.597 MB / 450.1 MB, free: 40.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00311/0.7987, allocations: 0.9762 MB / 451.1 MB, free: 40.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002631/0.8014, allocations: 0.7584 MB / 451.9 MB, free: 40.76 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002481/0.8039, allocations: 0.8362 MB / 452.7 MB, free: 40.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005564/0.8045, allocations: 147.6 kB / 452.9 MB, free: 40.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0115/0.816, allocations: 1.463 MB / 454.3 MB, free: 40.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001275/0.8174, allocations: 347 kB / 454.7 MB, free: 40.44 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001997/0.8194, allocations: 0.7472 MB / 455.4 MB, free: 40.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02279/0.8422, allocations: 3.078 MB / 458.5 MB, free: 39.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.869e-06/0.8423, allocations: 0 / 458.5 MB, free: 39.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.8423, allocations: 0 / 458.5 MB, free: 39.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.723e-05/0.8424, allocations: 0 / 458.5 MB, free: 39.24 MB / 366.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.01084/0.8532, allocations: 1.842 MB / 460.3 MB, free: 38.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001008/0.8534, allocations: 12.91 kB / 460.3 MB, free: 38.11 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003328/0.8537, allocations: 188.6 kB / 460.5 MB, free: 37.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002136/0.8559, allocations: 317.2 kB / 460.8 MB, free: 37.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.8575, allocations: 0.6531 MB / 461.5 MB, free: 37.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.997e-05/0.8576, allocations: 102.9 kB / 461.6 MB, free: 37.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000277/0.8579, allocations: 127.9 kB / 461.7 MB, free: 37.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008349/0.8662, allocations: 1.525 MB / 463.2 MB, free: 36.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.431e-05/0.8664, allocations: 0.5 kB / 463.2 MB, free: 36.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001854/0.8666, allocations: 49.41 kB / 463.3 MB, free: 36.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.039e-05/0.8666, allocations: 33.69 kB / 463.3 MB, free: 36.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004269/0.8709, allocations: 1.86 MB / 465.2 MB, free: 36.1 MB / 366.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.01112/0.8821, allocations: 4.656 MB / 469.8 MB, free: 33.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003808/0.8859, allocations: 1.342 MB / 471.2 MB, free: 32.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001743/0.8877, allocations: 0.5355 MB / 471.7 MB, free: 32.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0165/0.9043, allocations: 4.589 MB / 476.3 MB, free: 29.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.294e-05/0.9044, allocations: 39.45 kB / 476.3 MB, free: 29.07 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006933/0.9051, allocations: 83.03 kB / 476.4 MB, free: 29.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 7.564e-06/0.9052, allocations: 1.094 kB / 476.4 MB, free: 29.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.03663/0.9418, allocations: 4.342 MB / 480.8 MB, free: 27.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/0.9419, allocations: 62.7 kB / 480.8 MB, free: 27.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.9435, allocations: 0.5794 MB / 481.4 MB, free: 26.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002925/0.9438, allocations: 41.45 kB / 481.4 MB, free: 26.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005788/0.9444, allocations: 0.5746 MB / 482 MB, free: 26.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005971/0.945, allocations: 350.7 kB / 482.4 MB, free: 26.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006003/0.9457, allocations: 235.2 kB / 482.6 MB, free: 26.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002363/0.9459, allocations: 397.4 kB / 483 MB, free: 25.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.9473, allocations: 420.1 kB / 483.4 MB, free: 25.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001922/0.9492, allocations: 0.7793 MB / 484.2 MB, free: 24.96 MB / 366.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.04536/0.9946, allocations: 4.546 MB / 488.7 MB, free: 23.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.645e-05/0.9947, allocations: 7.031 kB / 488.7 MB, free: 23.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00967/1.004, allocations: 1.778 MB / 490.5 MB, free: 22.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.222e-05/1.004, allocations: 10.38 kB / 490.5 MB, free: 22.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.459e-05/1.005, allocations: 12.38 kB / 490.5 MB, free: 22.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0168/1.021, allocations: 476.5 kB / 491 MB, free: 22.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002197/1.024, allocations: 297.9 kB / 491.3 MB, free: 22.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01732/1.041, allocations: 4.393 MB / 495.7 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/1.043, allocations: 45.81 kB / 495.7 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003721/1.044, allocations: 70.12 kB / 495.8 MB, free: 18.97 MB / 366.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.001167/1.045, allocations: 277.1 kB / 496 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005525/1.045, allocations: 88 kB / 496.1 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/1.057, allocations: 1.751 MB / 497.9 MB, free: 18.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-05/1.057, allocations: 17.16 kB / 497.9 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-05/1.057, allocations: 4.469 kB / 497.9 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.686e-05/1.057, allocations: 10.73 kB / 497.9 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01912/1.076, allocations: 2.943 MB / 0.4891 GB, free: 16.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.54e-05/1.076, allocations: 9.484 kB / 0.4891 GB, free: 16.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/1.078, allocations: 200.2 kB / 0.4893 GB, free: 16.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008575/1.086, allocations: 0.5403 MB / 0.4899 GB, free: 16.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004089/1.087, allocations: 35.98 kB / 0.4899 GB, free: 16.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01231/1.099, allocations: 5.683 MB / 0.4954 GB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/1.099, allocations: 0 / 0.4954 GB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01596/1.115, allocations: 2.316 MB / 0.4977 GB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006086/1.116, allocations: 168 kB / 0.4979 GB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002419/1.116, allocations: 23.69 kB / 0.4979 GB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009734/1.117, allocations: 24 kB / 0.4979 GB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000427/1.118, allocations: 100.8 kB / 0.498 GB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/1.118, allocations: 47.92 kB / 0.498 GB, free: 7.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007339/1.119, allocations: 387.1 kB / 0.4984 GB, free: 6.945 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.382e-06/1.119, allocations: 4 kB / 0.4984 GB, free: 6.941 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004453/1.123, allocations: 0.6012 MB / 0.499 GB, free: 6.34 MB / 366.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.01723/1.14, allocations: 3.372 MB / 0.5023 GB, free: 2.969 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006147/1.147, allocations: 1.477 MB / 0.5037 GB, free: 1.473 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/1.147, allocations: 0 / 0.5037 GB, free: 1.473 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002816/1.15, allocations: 1.013 MB / 0.5047 GB, free: 428 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002921/1.152, allocations: 207.8 kB / 0.5049 GB, free: 228 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04766/1.2, allocations: 9.847 MB / 0.5145 GB, free: 5.812 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002127/1.202, allocations: 1.077 MB / 0.5156 GB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00299/1.205, allocations: 223.8 kB / 0.5158 GB, free: 4.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001646/1.207, allocations: 0.5023 MB / 0.5163 GB, free: 3.984 MB / 382.1 MB Notification: Performance of SimCode: time 1.834e-06/1.207, allocations: 0 / 0.5163 GB, free: 3.984 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2735/1.481, allocations: 31.43 MB / 0.547 GB, free: 4.773 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 25.95/27.43, allocations: 64 / 0.547 GB, free: 4.773 MB / 414.1 MB (rm -f Chemical_Chemical.Examples.WaterVaporization.pipe ; mkfifo Chemical_Chemical.Examples.WaterVaporization.pipe ; head -c 1048576 < Chemical_Chemical.Examples.WaterVaporization.pipe >> ../files/Chemical_Chemical.Examples.WaterVaporization.sim & python3 -m fmpy simulate --output-file Chemical_Chemical.Examples.WaterVaporization_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.04 Chemical_Chemical_Examples_WaterVaporization.fmu > Chemical_Chemical.Examples.WaterVaporization.pipe 2>&1)