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.001013/0.001013, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001412/0.001412, allocations: 189.8 kB / 16.14 MB, free: 6.688 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.305/1.305, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2014/0.2014, allocations: 15.31 MB / 305.3 MB, free: 15.36 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.91 kB / 369.8 MB, free: 4.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1102, allocations: 53.6 MB / 423.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.006307/0.1166, allocations: 4.707 MB / 428.1 MB, free: 9.945 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01016/0.1268, allocations: 8.672 MB / 436.7 MB, free: 1.242 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006188/0.1274, allocations: 15.88 kB / 436.8 MB, free: 1.227 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006398/0.1281, allocations: 163.1 kB / 436.9 MB, free: 1.066 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001855/0.13, allocations: 0.6909 MB / 437.6 MB, free: 380 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1702/0.3002, allocations: 0.869 MB / 438.5 MB, free: 42.8 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001069/0.3013, allocations: 0.8429 MB / 439.3 MB, free: 42.8 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004327/0.3017, allocations: 435.6 kB / 439.7 MB, free: 42.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003723/0.3021, allocations: 435.1 kB / 440.2 MB, free: 42.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003899/0.3025, allocations: 466.4 kB / 440.6 MB, free: 42.72 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.464e-05/0.3026, allocations: 51.38 kB / 440.7 MB, free: 42.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002115/0.3047, allocations: 0.881 MB / 441.6 MB, free: 42.72 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.3049, allocations: 158.4 kB / 441.7 MB, free: 42.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000288/0.3052, allocations: 388.2 kB / 442.1 MB, free: 42.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001851/0.307, allocations: 1.672 MB / 443.8 MB, free: 42.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.307, allocations: 2.969 kB / 443.8 MB, free: 42.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.307, allocations: 0.9688 kB / 443.8 MB, free: 42.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.3071, allocations: 0 / 443.8 MB, free: 42.43 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001542/0.3086, allocations: 1.148 MB / 444.9 MB, free: 41.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.3087, allocations: 9 kB / 444.9 MB, free: 41.78 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.559e-05/0.3088, allocations: 109.9 kB / 445 MB, free: 41.74 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005387/0.3093, allocations: 149.3 kB / 445.2 MB, free: 41.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004645/0.3098, allocations: 450.1 kB / 445.6 MB, free: 41.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.3098, allocations: 51.69 kB / 445.7 MB, free: 41.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.255e-05/0.3099, allocations: 67.31 kB / 445.7 MB, free: 41.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009288/0.3108, allocations: 0.7635 MB / 446.5 MB, free: 41.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.3109, allocations: 0 / 446.5 MB, free: 41.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-05/0.3109, allocations: 27.75 kB / 446.5 MB, free: 41.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.3109, allocations: 15.88 kB / 446.5 MB, free: 41.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.312, allocations: 0.8727 MB / 447.4 MB, free: 41.36 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.002706/0.3148, allocations: 2.352 MB / 449.8 MB, free: 40.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.3161, allocations: 1.026 MB / 450.8 MB, free: 40.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/0.3164, allocations: 298.5 kB / 451.1 MB, free: 40.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002965/0.3194, allocations: 2.866 MB / 453.9 MB, free: 38.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.3194, allocations: 41.38 kB / 454 MB, free: 37.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 3.066e-06/0.3194, allocations: 0 / 454 MB, free: 37.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=56): time 0.0153/0.3347, allocations: 2.798 MB / 456.8 MB, free: 36.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.3348, allocations: 57.88 kB / 456.8 MB, free: 36.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/0.3352, allocations: 404.5 kB / 457.2 MB, free: 36.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.214e-05/0.3353, allocations: 36.98 kB / 457.3 MB, free: 36.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.3354, allocations: 362.7 kB / 457.6 MB, free: 36.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.3355, allocations: 200.9 kB / 457.8 MB, free: 36.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.3357, allocations: 139.9 kB / 458 MB, free: 36.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.331e-05/0.3358, allocations: 372.6 kB / 458.3 MB, free: 35.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/0.3361, allocations: 205.6 kB / 458.5 MB, free: 35.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.3365, allocations: 465.5 kB / 459 MB, free: 35.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000765/0.3373, allocations: 0.7186 MB / 459.7 MB, free: 34.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3373, allocations: 3.094 kB / 459.7 MB, free: 34.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004345/0.3416, allocations: 1.139 MB / 460.8 MB, free: 34.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3417, allocations: 17.56 kB / 460.9 MB, free: 34.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.3417, allocations: 6.406 kB / 460.9 MB, free: 34.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003499/0.3452, allocations: 441 kB / 461.3 MB, free: 34.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.3457, allocations: 158.8 kB / 461.4 MB, free: 34.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006191/0.3519, allocations: 4.219 MB / 465.7 MB, free: 30.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007076/0.3526, allocations: 44.31 kB / 465.7 MB, free: 30.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.062e-05/0.3527, allocations: 41.03 kB / 465.7 MB, free: 30.8 MB / 366.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.0003113/0.353, allocations: 210.6 kB / 466 MB, free: 30.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.3531, allocations: 52.12 kB / 466 MB, free: 30.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005393/0.3585, allocations: 1.105 MB / 467.1 MB, free: 30.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.3585, allocations: 6.531 kB / 467.1 MB, free: 30.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3586, allocations: 48 / 467.1 MB, free: 30.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.3586, allocations: 7.312 kB / 467.1 MB, free: 30.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006086/0.3647, allocations: 1.813 MB / 468.9 MB, free: 29.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.3647, allocations: 6.188 kB / 468.9 MB, free: 29.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/0.365, allocations: 95.45 kB / 469 MB, free: 29.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0047/0.3697, allocations: 0.5029 MB / 469.5 MB, free: 29.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-05/0.3698, allocations: 21.55 kB / 469.6 MB, free: 29.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006745/0.3765, allocations: 5.429 MB / 475 MB, free: 24.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.3766, allocations: 2.281 kB / 475 MB, free: 24.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005797/0.3824, allocations: 1.41 MB / 476.4 MB, free: 23.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.3826, allocations: 121.9 kB / 476.5 MB, free: 23.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.37e-05/0.3826, allocations: 14.16 kB / 476.5 MB, free: 23.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00037/0.383, allocations: 24.72 kB / 476.6 MB, free: 23.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.3832, allocations: 66.2 kB / 476.6 MB, free: 23.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.3832, allocations: 24.81 kB / 476.6 MB, free: 23.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002667/0.3835, allocations: 270.6 kB / 476.9 MB, free: 23.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3835, allocations: 0 / 476.9 MB, free: 23.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001299/0.3848, allocations: 398.9 kB / 477.3 MB, free: 23.5 MB / 366.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.006315/0.3911, allocations: 2.289 MB / 479.6 MB, free: 22.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001458/0.3926, allocations: 0.8966 MB / 480.5 MB, free: 21.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.3926, allocations: 4.062 kB / 480.5 MB, free: 21.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009713/0.3936, allocations: 0.7222 MB / 481.2 MB, free: 21.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007842/0.3944, allocations: 137.5 kB / 481.3 MB, free: 21.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/0.4077, allocations: 6.458 MB / 487.8 MB, free: 17.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.4082, allocations: 0.8952 MB / 488.7 MB, free: 16.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005866/0.4088, allocations: 132.2 kB / 488.8 MB, free: 16.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003419/0.4091, allocations: 281.1 kB / 489.1 MB, free: 16.33 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4091, allocations: 0 / 489.1 MB, free: 16.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03206/0.4412, allocations: 20.67 MB / 0.4978 GB, free: 4.418 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/0.4414, allocations: 209 kB / 0.498 GB, free: 4.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.229/2.67, allocations: 0 / 0.498 GB, free: 4.16 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/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)