Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.HeatingOfAlcohol.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.0/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/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.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfAlcohol",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.0007522/0.0007524, allocations: 87.03 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008135/0.0008135, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.182/0.182, allocations: 15.26 MB / 306.3 MB, free: 15.71 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003087/0.0003087, allocations: 11.94 kB / 371.6 MB, free: 3.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2633, allocations: 54.62 MB / 426.2 MB, free: 40.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.003318/0.2667, allocations: 4.088 MB / 430.3 MB, free: 39.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006242/0.273, allocations: 7.932 MB / 438.2 MB, free: 34.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003614/0.2734, allocations: 16.59 kB / 438.2 MB, free: 34.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003861/0.2737, allocations: 168.5 kB / 438.4 MB, free: 34.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.2751, allocations: 0.6848 MB / 439.1 MB, free: 34.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.2766, allocations: 0.8086 MB / 439.9 MB, free: 33.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007032/0.2773, allocations: 0.8068 MB / 440.7 MB, free: 33.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003748/0.2777, allocations: 409.3 kB / 441.1 MB, free: 33.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000341/0.2781, allocations: 356.8 kB / 441.4 MB, free: 32.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003921/0.2785, allocations: 428.1 kB / 441.8 MB, free: 32.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.602e-05/0.2785, allocations: 45.88 kB / 441.9 MB, free: 32.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.2803, allocations: 0.813 MB / 442.7 MB, free: 32.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.2804, allocations: 136.1 kB / 442.8 MB, free: 32.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.2805, allocations: 158.3 kB / 443 MB, free: 32.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.2816, allocations: 1.316 MB / 444.3 MB, free: 31.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2816, allocations: 0 / 444.3 MB, free: 31.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2816, allocations: 0 / 444.3 MB, free: 31.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.2816, allocations: 0 / 444.3 MB, free: 31.96 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001324/0.283, allocations: 1.01 MB / 445.3 MB, free: 31.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.283, allocations: 9.875 kB / 445.3 MB, free: 31.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.698e-05/0.2831, allocations: 107.1 kB / 445.4 MB, free: 31.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005063/0.2836, allocations: 149.7 kB / 445.6 MB, free: 31.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005096/0.2841, allocations: 424.8 kB / 446 MB, free: 30.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.2842, allocations: 48.69 kB / 446 MB, free: 30.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.555e-05/0.2843, allocations: 66.34 kB / 446.1 MB, free: 30.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009383/0.2852, allocations: 0.757 MB / 446.9 MB, free: 30.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.2852, allocations: 0 / 446.9 MB, free: 30.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.402e-05/0.2853, allocations: 26.03 kB / 446.9 MB, free: 30.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.2853, allocations: 16.03 kB / 446.9 MB, free: 30.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.2864, allocations: 0.8705 MB / 447.8 MB, free: 30.17 MB / 350.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.002715/0.2891, allocations: 2.331 MB / 450.1 MB, free: 28.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.2904, allocations: 1.033 MB / 451.1 MB, free: 28.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/0.2907, allocations: 290.8 kB / 451.4 MB, free: 28.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002783/0.2935, allocations: 2.797 MB / 454.2 MB, free: 25.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.2935, allocations: 47.31 kB / 454.3 MB, free: 25.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.723e-06/0.2935, allocations: 0 / 454.3 MB, free: 25.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.01363/0.3072, allocations: 2.847 MB / 457.1 MB, free: 24.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.3072, allocations: 58.19 kB / 457.2 MB, free: 24.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003628/0.3076, allocations: 398.3 kB / 457.6 MB, free: 24.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.3077, allocations: 36.73 kB / 457.6 MB, free: 24.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.3078, allocations: 365.8 kB / 457.9 MB, free: 24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.3079, allocations: 193.6 kB / 458.1 MB, free: 23.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.308, allocations: 19.09 kB / 458.2 MB, free: 23.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.477e-05/0.3081, allocations: 365.5 kB / 458.5 MB, free: 23.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.3084, allocations: 196.5 kB / 458.7 MB, free: 23.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003988/0.3088, allocations: 467.6 kB / 459.2 MB, free: 23.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/0.3092, allocations: 271.4 kB / 459.4 MB, free: 22.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.3092, allocations: 2.406 kB / 459.4 MB, free: 22.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004177/0.3134, allocations: 1.153 MB / 460.6 MB, free: 22.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.3135, allocations: 7.562 kB / 460.6 MB, free: 22.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.3135, allocations: 8.906 kB / 460.6 MB, free: 22.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003241/0.3167, allocations: 453.2 kB / 461 MB, free: 22.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004593/0.3172, allocations: 161.7 kB / 461.2 MB, free: 22.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006235/0.3234, allocations: 4.242 MB / 465.4 MB, free: 18.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005437/0.324, allocations: 38.75 kB / 465.5 MB, free: 18.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.333e-05/0.3241, allocations: 43.3 kB / 465.5 MB, free: 18.89 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (81): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002687/0.3244, allocations: 211.6 kB / 465.7 MB, free: 18.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.3245, allocations: 51.92 kB / 465.8 MB, free: 18.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005129/0.3296, allocations: 1.123 MB / 466.9 MB, free: 18.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.3296, allocations: 5.938 kB / 466.9 MB, free: 18.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.3297, allocations: 2.188 kB / 466.9 MB, free: 18.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.3297, allocations: 2.812 kB / 466.9 MB, free: 18.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005619/0.3353, allocations: 1.823 MB / 468.7 MB, free: 17.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.3353, allocations: 1.891 kB / 468.7 MB, free: 17.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/0.3356, allocations: 94.62 kB / 468.8 MB, free: 17.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004235/0.3399, allocations: 0.5232 MB / 469.3 MB, free: 17.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/0.3399, allocations: 21.83 kB / 469.4 MB, free: 17.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006367/0.3463, allocations: 5.46 MB / 474.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3463, allocations: 6.406 kB / 474.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005185/0.3515, allocations: 1.422 MB / 476.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.3517, allocations: 125.7 kB / 476.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.833e-05/0.3518, allocations: 14.84 kB / 476.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003494/0.3522, allocations: 22.22 kB / 476.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.3523, allocations: 62 kB / 476.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.964e-05/0.3523, allocations: 25.42 kB / 476.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003187/0.3527, allocations: 268 kB / 476.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3527, allocations: 0 / 476.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001436/0.3541, allocations: 394.2 kB / 477.1 MB, free: 11.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (Ethanol.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 2 {1 1,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006029/0.3602, allocations: 2.302 MB / 479.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.3617, allocations: 0.8896 MB / 480.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3617, allocations: 64 / 480.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.3627, allocations: 0.7278 MB / 481.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007714/0.3635, allocations: 131.1 kB / 481.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008398/0.3719, allocations: 4.099 MB / 485.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.3723, allocations: 0.8942 MB / 486.2 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005511/0.3729, allocations: 128 kB / 486.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003477/0.3733, allocations: 287.3 kB / 486.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3733, allocations: 0 / 486.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03388/0.4071, allocations: 20.24 MB / 0.495 GB, free: 3.598 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/0.4073, allocations: 192.9 kB / 0.4951 GB, free: 3.359 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/2.569, allocations: 3.938 kB / 0.4951 GB, free: 3.355 MB / 366.1 MB (rm -f Chemical_Chemical.Examples.HeatingOfAlcohol.pipe ; mkfifo Chemical_Chemical.Examples.HeatingOfAlcohol.pipe ; head -c 1048576 < Chemical_Chemical.Examples.HeatingOfAlcohol.pipe >> ../files/Chemical_Chemical.Examples.HeatingOfAlcohol.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_HeatingOfAlcohol_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_HeatingOfAlcohol.fmu > Chemical_Chemical.Examples.HeatingOfAlcohol.pipe 2>&1) Environment - environmentSimulation: