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.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.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.0007415/0.0007414, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.004678/0.004678, allocations: 173.2 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1946/0.1946, allocations: 15.28 MB / 306.7 MB, free: 15.69 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003171/0.0003171, allocations: 12 kB / 372.2 MB, free: 3.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2607, allocations: 54.61 MB / 426.8 MB, free: 40.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.003617/0.2643, allocations: 4.317 MB / 431.1 MB, free: 38.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007065/0.2714, allocations: 8.58 MB / 439.7 MB, free: 33.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004155/0.2719, allocations: 10.56 kB / 439.7 MB, free: 33.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004284/0.2723, allocations: 166.2 kB / 439.9 MB, free: 33.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.2737, allocations: 0.6969 MB / 440.6 MB, free: 33.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.2757, allocations: 0.8754 MB / 441.5 MB, free: 32.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007489/0.2764, allocations: 0.8411 MB / 442.3 MB, free: 32.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003921/0.2768, allocations: 411.3 kB / 442.7 MB, free: 32.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003461/0.2772, allocations: 413.7 kB / 443.1 MB, free: 32.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003955/0.2776, allocations: 448.7 kB / 443.5 MB, free: 32.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.984e-05/0.2777, allocations: 39.44 kB / 443.6 MB, free: 32.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.2794, allocations: 0.8683 MB / 444.4 MB, free: 31.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.2796, allocations: 146.2 kB / 444.6 MB, free: 31.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002508/0.2798, allocations: 387.6 kB / 445 MB, free: 31.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001684/0.2815, allocations: 1.653 MB / 446.6 MB, free: 30.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2815, allocations: 0 / 446.6 MB, free: 30.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2815, allocations: 0 / 446.6 MB, free: 30.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.2816, allocations: 0 / 446.6 MB, free: 30.88 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.001429/0.283, allocations: 1.008 MB / 447.6 MB, free: 30.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.283, allocations: 9.75 kB / 447.6 MB, free: 30.17 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/0.2831, allocations: 110.5 kB / 447.7 MB, free: 30.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005418/0.2837, allocations: 150 kB / 447.9 MB, free: 30.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/0.2842, allocations: 442.9 kB / 448.3 MB, free: 29.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.2842, allocations: 51.75 kB / 448.4 MB, free: 29.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.2843, allocations: 65.84 kB / 448.4 MB, free: 29.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009733/0.2853, allocations: 0.7661 MB / 449.2 MB, free: 29.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.2853, allocations: 0 / 449.2 MB, free: 29.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/0.2854, allocations: 26.69 kB / 449.2 MB, free: 29.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.2854, allocations: 16.5 kB / 449.2 MB, free: 29.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.2865, allocations: 0.8696 MB / 450.1 MB, free: 29.06 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.002739/0.2893, allocations: 2.329 MB / 452.4 MB, free: 27.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.2906, allocations: 1.032 MB / 453.5 MB, free: 27.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/0.291, allocations: 292.6 kB / 453.8 MB, free: 26.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002976/0.2939, allocations: 2.805 MB / 456.6 MB, free: 24.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.294, allocations: 43.97 kB / 456.6 MB, free: 24.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.773e-06/0.294, allocations: 0 / 456.6 MB, free: 24.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.01575/0.3097, allocations: 2.858 MB / 459.5 MB, free: 23.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.3098, allocations: 57.22 kB / 459.5 MB, free: 23.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004641/0.3103, allocations: 404.2 kB / 459.9 MB, free: 23.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.757e-05/0.3103, allocations: 35.67 kB / 460 MB, free: 23.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.3105, allocations: 367 kB / 460.3 MB, free: 22.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.3106, allocations: 205.2 kB / 460.5 MB, free: 22.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-05/0.3107, allocations: 63.61 kB / 460.6 MB, free: 22.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.137e-05/0.3108, allocations: 367.1 kB / 460.9 MB, free: 22.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.3111, allocations: 204.1 kB / 461.1 MB, free: 22.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/0.3116, allocations: 470.1 kB / 461.6 MB, free: 21.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008423/0.3124, allocations: 0.7163 MB / 462.3 MB, free: 21.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.3124, allocations: 5.656 kB / 462.3 MB, free: 21.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004909/0.3173, allocations: 1.15 MB / 463.5 MB, free: 20.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.3174, allocations: 8 kB / 463.5 MB, free: 20.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.3174, allocations: 8.625 kB / 463.5 MB, free: 20.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004005/0.3214, allocations: 462.4 kB / 463.9 MB, free: 20.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005312/0.322, allocations: 152.9 kB / 464.1 MB, free: 20.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006939/0.3289, allocations: 4.257 MB / 468.3 MB, free: 17.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006685/0.3296, allocations: 42.94 kB / 468.4 MB, free: 17.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.407e-05/0.3297, allocations: 43.78 kB / 468.4 MB, free: 17.29 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 (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,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000286/0.33, allocations: 213.2 kB / 468.6 MB, free: 17.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.3301, allocations: 52.09 kB / 468.7 MB, free: 17.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005751/0.3359, allocations: 1.109 MB / 469.8 MB, free: 16.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.3359, allocations: 6.625 kB / 469.8 MB, free: 16.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.3359, allocations: 7 kB / 469.8 MB, free: 16.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.3359, allocations: 3.422 kB / 469.8 MB, free: 16.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006598/0.3425, allocations: 1.826 MB / 471.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.3426, allocations: 6.406 kB / 471.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003482/0.3429, allocations: 88.94 kB / 471.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005096/0.348, allocations: 0.5313 MB / 472.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.004e-05/0.3481, allocations: 24.81 kB / 472.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007245/0.3554, allocations: 5.459 MB / 477.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3554, allocations: 2.219 kB / 477.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005968/0.3614, allocations: 1.428 MB / 479.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.3616, allocations: 123.6 kB / 479.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.125e-05/0.3617, allocations: 13.34 kB / 479.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.3621, allocations: 22.56 kB / 479.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.3623, allocations: 69.52 kB / 479.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.415e-05/0.3623, allocations: 25.23 kB / 479.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003069/0.3626, allocations: 269 kB / 479.7 MB, free: 9.938 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3626, allocations: 0 / 479.7 MB, free: 9.938 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001383/0.364, allocations: 398.7 kB / 480.1 MB, free: 9.855 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 (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,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006693/0.3707, allocations: 2.31 MB / 482.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.3723, allocations: 0.8992 MB / 483.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3723, allocations: 0 / 483.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009942/0.3733, allocations: 0.7327 MB / 484 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009058/0.3742, allocations: 139.7 kB / 484.2 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/0.3879, allocations: 6.57 MB / 490.7 MB, free: 3.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.3882, allocations: 0.8979 MB / 491.6 MB, free: 2.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005249/0.3888, allocations: 124.9 kB / 491.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/0.3891, allocations: 280.3 kB / 492 MB, free: 2.172 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3891, allocations: 0 / 492 MB, free: 2.172 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05509/0.4442, allocations: 20.57 MB / 0.5006 GB, free: 13.94 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/0.4444, allocations: 204.3 kB / 0.5008 GB, free: 13.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.352/2.797, allocations: 0 / 0.5008 GB, free: 13.69 MB / 382.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/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)