Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: "" <> buildModelFMU(Chemical.Examples.CheckSubstancesData.SimpleReaction,fileNamePrefix="Chemical_Chemical_Examples_CheckSubstancesData_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.CheckSubstancesData.SimpleReaction,fileNamePrefix="Chemical_Chemical_Examples_CheckSubstancesData_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1417/0.1417, allocations: 15.26 MB / 30.21 MB, free: 3.297 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 177.1 kB / 35.29 MB, free: 2.375 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 223.2 MB / 263.4 MB, free: 6.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 101.4 kB / 318.8 MB, free: 3.848 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003369, allocations: 7.969 kB / 384 MB, free: 50.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09943/0.09979, allocations: 54.65 MB / 438.7 MB, free: 384 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3479/0.4477, allocations: 95.01 MB / 0.5212 GB, free: 15.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001657/0.4479, allocations: 71.05 kB / 0.5212 GB, free: 15.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03599/0.4839, allocations: 15.71 MB / 0.5366 GB, free: 30.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.484, allocations: 0 / 0.5366 GB, free: 30.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.171e-05/0.484, allocations: 3.844 kB / 0.5366 GB, free: 30.16 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008552/0.4849, allocations: 0.6936 MB / 0.5373 GB, free: 29.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.4849, allocations: 11.62 kB / 0.5373 GB, free: 29.61 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.54e-05/0.485, allocations: 58.09 kB / 0.5373 GB, free: 29.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004306/0.4854, allocations: 129.8 kB / 0.5374 GB, free: 29.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.4858, allocations: 325.3 kB / 0.5378 GB, free: 29.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.4858, allocations: 21.67 kB / 0.5378 GB, free: 29.31 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/0.4858, allocations: 24.72 kB / 0.5378 GB, free: 29.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006643/0.4865, allocations: 0.6727 MB / 0.5385 GB, free: 29.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.4865, allocations: 3.938 kB / 0.5385 GB, free: 29.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.4866, allocations: 6.75 kB / 0.5385 GB, free: 29.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.4866, allocations: 5.062 kB / 0.5385 GB, free: 29.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009959/0.4876, allocations: 1.185 MB / 0.5396 GB, free: 29.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.4898, allocations: 2.319 MB / 0.5419 GB, free: 28.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.734e-05/0.4899, allocations: 55.36 kB / 0.5419 GB, free: 28.35 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.4899, allocations: 0 / 0.5419 GB, free: 28.35 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.4899, allocations: 38.38 kB / 0.542 GB, free: 28.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 8.71e-07/0.4899, allocations: 4 kB / 0.542 GB, free: 28.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002103/0.4901, allocations: 123.6 kB / 0.5421 GB, free: 28.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.4902, allocations: 55.28 kB / 0.5422 GB, free: 28.19 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009701/0.4911, allocations: 1.33 MB / 0.5435 GB, free: 28.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.4912, allocations: 29.08 kB / 0.5435 GB, free: 28.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.4913, allocations: 260.6 kB / 0.5437 GB, free: 27.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.4913, allocations: 23.06 kB / 0.5438 GB, free: 27.87 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.784e-05/0.4913, allocations: 7.406 kB / 0.5438 GB, free: 27.87 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.4914, allocations: 350.8 kB / 0.5441 GB, free: 27.55 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/0.4917, allocations: 412.6 kB / 0.5445 GB, free: 27.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/0.4921, allocations: 0.5488 MB / 0.545 GB, free: 27.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/0.4924, allocations: 445.7 kB / 0.5454 GB, free: 27.35 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4924, allocations: 7.906 kB / 0.5455 GB, free: 27.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000938/0.4934, allocations: 1.018 MB / 0.5464 GB, free: 27.26 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.4934, allocations: 10.03 kB / 0.5465 GB, free: 27.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.4934, allocations: 3.906 kB / 0.5465 GB, free: 27.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.4935, allocations: 7.75 kB / 0.5465 GB, free: 27.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.4937, allocations: 80.55 kB / 0.5465 GB, free: 27.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.4938, allocations: 15.66 kB / 0.5466 GB, free: 27.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.4941, allocations: 46.34 kB / 0.5466 GB, free: 27.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.4941, allocations: 19.52 kB / 0.5466 GB, free: 27.22 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001276/0.4943, allocations: 157.2 kB / 0.5468 GB, free: 27.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/0.4943, allocations: 39.16 kB / 0.5468 GB, free: 27.08 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.4945, allocations: 118.5 kB / 0.5469 GB, free: 27.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.4945, allocations: 0 / 0.5469 GB, free: 27.04 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4945, allocations: 0 / 0.5469 GB, free: 27.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.4945, allocations: 3.938 kB / 0.5469 GB, free: 27.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005846/0.4951, allocations: 0.6724 MB / 0.5476 GB, free: 26.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.4951, allocations: 3.906 kB / 0.5476 GB, free: 26.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.971e-05/0.4952, allocations: 18.98 kB / 0.5476 GB, free: 26.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4952, allocations: 3.906 kB / 0.5476 GB, free: 26.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.4952, allocations: 0 / 0.5476 GB, free: 26.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.4952, allocations: 7.828 kB / 0.5476 GB, free: 26.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4952, allocations: 0 / 0.5476 GB, free: 26.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.4954, allocations: 237.3 kB / 0.5478 GB, free: 26.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.4955, allocations: 148.5 kB / 0.548 GB, free: 26.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.268e-05/0.4956, allocations: 64 / 0.548 GB, free: 26.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.4957, allocations: 15.7 kB / 0.548 GB, free: 26.26 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.87e-05/0.4958, allocations: 7.797 kB / 0.548 GB, free: 26.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.4958, allocations: 7.438 kB / 0.548 GB, free: 26.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007371/0.4965, allocations: 1.068 MB / 0.5491 GB, free: 26.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4965, allocations: 7.719 kB / 0.5491 GB, free: 26.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006292/0.4972, allocations: 241.3 kB / 0.5493 GB, free: 26.12 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000927/0.4981, allocations: 1.377 MB / 0.5506 GB, free: 24.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004494/0.4986, allocations: 0.4991 MB / 0.5511 GB, free: 24.96 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4986, allocations: 0 / 0.5511 GB, free: 24.96 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.604e-05/0.4986, allocations: 31.42 kB / 0.5512 GB, free: 24.96 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.499, allocations: 89.06 kB / 0.5512 GB, free: 24.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004383/0.5034, allocations: 7.195 MB / 0.5583 GB, free: 20.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.5037, allocations: 0.783 MB / 0.559 GB, free: 19.98 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002409/0.504, allocations: 86.03 kB / 0.5591 GB, free: 19.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.5041, allocations: 109.5 kB / 0.5592 GB, free: 19.94 MB / 394.7 MB Notification: Performance of SimCode: time 3.897e-06/0.5041, allocations: 0 / 0.5592 GB, free: 19.94 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.5252, allocations: 11.79 MB / 0.5707 GB, free: 14.73 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000123/0.5254, allocations: 181.8 kB / 0.5709 GB, free: 14.48 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.692/3.218, allocations: 0 / 0.5709 GB, free: 14.48 MB / 394.7 MB (rm -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_CheckSubstancesData_SimpleReaction_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_CheckSubstancesData_SimpleReaction.fmu > Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1)