Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.EnzymeKinetics.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.EnzymeKinetics,fileNamePrefix="Chemical_Chemical_Examples_EnzymeKinetics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.EnzymeKinetics,fileNamePrefix="Chemical_Chemical_Examples_EnzymeKinetics",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.0007688/0.0007688, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004999/0.004999, allocations: 170 kB / 16.26 MB, free: 6.613 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.22/1.22, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1663/0.1663, allocations: 15.27 MB / 306.7 MB, free: 15.7 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002884, allocations: 8.281 kB / 372.2 MB, free: 3.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2446, allocations: 54.63 MB / 426.8 MB, free: 39.91 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019:65:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.EnzymeKinetics): time 0.02647/0.2711, allocations: 26.46 MB / 453.3 MB, free: 30.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01725/0.2883, allocations: 19.21 MB / 472.5 MB, free: 17.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001299/0.2897, allocations: 30.06 kB / 472.5 MB, free: 17.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.2908, allocations: 384.9 kB / 472.9 MB, free: 17.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004222/0.2951, allocations: 1.422 MB / 474.3 MB, free: 16.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005726/0.3008, allocations: 2.18 MB / 476.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002248/0.3031, allocations: 1.924 MB / 478.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.3042, allocations: 0.9246 MB / 479.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.3053, allocations: 0.8983 MB / 480.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.3066, allocations: 1.047 MB / 481.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002946/0.3069, allocations: 92 kB / 481.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006171/0.3131, allocations: 2.086 MB / 483.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004644/0.3136, allocations: 349.4 kB / 483.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009586/0.3145, allocations: 0.7958 MB / 484.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008297/0.3228, allocations: 3.801 MB / 488.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.3229, allocations: 0.6562 kB / 488.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.3229, allocations: 0 / 488.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.98e-05/0.3229, allocations: 0 / 488.4 MB, free: 5.984 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.004414/0.3274, allocations: 1.853 MB / 490.3 MB, free: 4.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.3274, allocations: 8.688 kB / 490.3 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005179/0.328, allocations: 198.2 kB / 490.5 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00179/0.3298, allocations: 337.5 kB / 490.8 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.3311, allocations: 0.7582 MB / 491.5 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.3312, allocations: 155.3 kB / 491.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003209/0.3315, allocations: 137.7 kB / 491.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002974/0.3345, allocations: 1.718 MB / 493.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.3345, allocations: 0 / 493.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.3347, allocations: 52 kB / 493.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.3347, allocations: 36 kB / 493.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003141/0.3379, allocations: 2.186 MB / 495.8 MB, free: 15.47 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.008701/0.3466, allocations: 5.455 MB / 0.4895 GB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004924/0.3515, allocations: 3.223 MB / 0.4927 GB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/0.3527, allocations: 0.8225 MB / 0.4935 GB, free: 6.898 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008433/0.3612, allocations: 6.86 MB / 0.5002 GB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.3612, allocations: 39.56 kB / 0.5002 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005762/0.3618, allocations: 134.8 kB / 0.5003 GB, free: 15.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=97): time 3.928e-06/0.3618, allocations: 0 / 0.5003 GB, free: 15.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.01764/0.3795, allocations: 4.54 MB / 0.5048 GB, free: 10.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.3795, allocations: 60.41 kB / 0.5048 GB, free: 10.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008562/0.3804, allocations: 0.7314 MB / 0.5056 GB, free: 9.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.578e-05/0.3805, allocations: 45.7 kB / 0.5056 GB, free: 9.582 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/0.3809, allocations: 0.6382 MB / 0.5062 GB, free: 8.934 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003196/0.3812, allocations: 418.1 kB / 0.5066 GB, free: 8.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.3814, allocations: 125.6 kB / 0.5067 GB, free: 8.391 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3816, allocations: 357.9 kB / 0.5071 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008558/0.3824, allocations: 479.8 kB / 0.5075 GB, free: 7.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.3836, allocations: 0.9801 MB / 0.5085 GB, free: 6.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00226/0.3858, allocations: 1.581 MB / 0.51 GB, free: 4.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/0.3859, allocations: 4 kB / 0.51 GB, free: 4.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006098/0.392, allocations: 2.002 MB / 0.512 GB, free: 2.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.392, allocations: 12 kB / 0.512 GB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/0.392, allocations: 16 kB / 0.512 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002845/0.3949, allocations: 458.6 kB / 0.5125 GB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.3961, allocations: 371.4 kB / 0.5128 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005247/0.4014, allocations: 3.526 MB / 0.5163 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.4025, allocations: 92.02 kB / 0.5163 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.4026, allocations: 87.97 kB / 0.5164 GB, free: 13.71 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (190): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000523/0.4032, allocations: 317.2 kB / 0.5167 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.4033, allocations: 110.6 kB / 0.5168 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005755/0.4091, allocations: 1.827 MB / 0.5186 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.4091, allocations: 12 kB / 0.5186 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.4091, allocations: 3.984 kB / 0.5186 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.4092, allocations: 7.922 kB / 0.5186 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.4109, allocations: 1.33 MB / 0.5199 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.4109, allocations: 12.06 kB / 0.52 GB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008607/0.4118, allocations: 235.7 kB / 0.5202 GB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002685/0.4145, allocations: 438 kB / 0.5206 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.4146, allocations: 39.97 kB / 0.5206 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004637/0.4192, allocations: 3.433 MB / 0.524 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.4192, allocations: 4.031 kB / 0.524 GB, free: 5.578 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006276/0.4255, allocations: 2.352 MB / 0.5263 GB, free: 3.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004749/0.426, allocations: 287.5 kB / 0.5266 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/0.4262, allocations: 23.94 kB / 0.5266 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007552/0.427, allocations: 43.98 kB / 0.5266 GB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002931/0.4273, allocations: 112.8 kB / 0.5267 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.4274, allocations: 47.97 kB / 0.5268 GB, free: 2.668 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006687/0.4281, allocations: 475 kB / 0.5272 GB, free: 2.211 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4281, allocations: 0 / 0.5272 GB, free: 2.211 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002547/0.4306, allocations: 0.8236 MB / 0.528 GB, free: 1.387 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (solution.temperature,P.logn,S.logn,ES.logn,E.logn,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 (120): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008507/0.4392, allocations: 3.734 MB / 0.5317 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002879/0.4421, allocations: 1.665 MB / 0.5333 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4421, allocations: 0 / 0.5333 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001492/0.4436, allocations: 1.001 MB / 0.5343 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.4452, allocations: 219.8 kB / 0.5345 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02197/0.4672, allocations: 11.93 MB / 0.5462 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006687/0.4679, allocations: 1.121 MB / 0.5472 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001208/0.4691, allocations: 293.1 kB / 0.5475 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007775/0.4699, allocations: 0.5772 MB / 0.5481 GB, free: 11.89 MB / 430.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4699, allocations: 8 kB / 0.5481 GB, free: 11.88 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9221/1.392, allocations: 37.07 MB / 0.5843 GB, free: 6.965 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002449/1.392, allocations: 200.2 kB / 0.5845 GB, free: 6.715 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.01/4.402, allocations: 0 / 0.5845 GB, free: 6.715 MB / 462.1 MB (rm -f Chemical_Chemical.Examples.EnzymeKinetics.pipe ; mkfifo Chemical_Chemical.Examples.EnzymeKinetics.pipe ; head -c 1048576 < Chemical_Chemical.Examples.EnzymeKinetics.pipe >> ../files/Chemical_Chemical.Examples.EnzymeKinetics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_EnzymeKinetics_fmu --startTime=0 --stopTime=199000 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_EnzymeKinetics.fmu > Chemical_Chemical.Examples.EnzymeKinetics.pipe 2>&1)