Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BioChem_BioChem.Examples.CaOscillations.Cytosol.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/BioChem 1.1.2/package.mo", uses=false) Using package BioChem with version 1.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2/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(BioChem.Examples.CaOscillations.Cytosol,fileNamePrefix="BioChem_BioChem_Examples_CaOscillations_Cytosol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BioChem.Examples.CaOscillations.Cytosol,fileNamePrefix="BioChem_BioChem_Examples_CaOscillations_Cytosol",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.0008054/0.0008054, allocations: 86.95 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.0008734/0.0008734, 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.366/1.366, allocations: 223.2 MB / 240 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2/package.mo): time 0.1859/0.1859, allocations: 12.21 MB / 303.3 MB, free: 1.879 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.000305, allocations: 8 kB / 367 MB, free: 9.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1073, allocations: 53.09 MB / 420.1 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CaOscillations.Cytosol): time 0.003788/0.1111, allocations: 2.402 MB / 422.5 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003883/0.1115, allocations: 179.3 kB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.1117, allocations: 8 kB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.818e-05/0.1118, allocations: 27.86 kB / 422.7 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.1119, allocations: 35.69 kB / 422.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.1121, allocations: 39.95 kB / 422.8 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.1124, allocations: 163.2 kB / 422.9 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.1126, allocations: 81.41 kB / 423 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.1127, allocations: 59.73 kB / 423 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.1129, allocations: 79.55 kB / 423.1 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.1129, allocations: 8 kB / 423.1 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.274e-05/0.113, allocations: 12 kB / 423.1 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.58e-05/0.113, allocations: 31.84 kB / 423.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.112e-05/0.1131, allocations: 57.64 kB / 423.2 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.1134, allocations: 167.8 kB / 423.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1134, allocations: 0 / 423.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1134, allocations: 0 / 423.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.1134, allocations: 0 / 423.4 MB, free: 1.039 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007531/0.1142, allocations: 475.2 kB / 423.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.1143, allocations: 12.03 kB / 423.9 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.517e-05/0.1143, allocations: 66.47 kB / 423.9 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.875e-05/0.1144, allocations: 23.72 kB / 424 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.1146, allocations: 182.7 kB / 424.1 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.1146, allocations: 24.5 kB / 424.2 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.747e-05/0.1147, allocations: 28 kB / 424.2 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2143/0.329, allocations: 200.1 kB / 424.4 MB, free: 38.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.3291, allocations: 1.438 kB / 424.4 MB, free: 38.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.3291, allocations: 8.125 kB / 424.4 MB, free: 38.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3291, allocations: 4.906 kB / 424.4 MB, free: 38.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002729/0.3294, allocations: 137.5 kB / 424.5 MB, free: 38.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.3308, allocations: 0.7643 MB / 425.3 MB, free: 38.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.331, allocations: 108.4 kB / 425.4 MB, free: 37.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.3312, allocations: 98.05 kB / 425.5 MB, free: 37.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.3313, allocations: 1.094 kB / 425.5 MB, free: 37.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.3313, allocations: 33.59 kB / 425.5 MB, free: 37.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.3313, allocations: 0 / 425.5 MB, free: 37.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001156/0.3325, allocations: 0.5716 MB / 426.1 MB, free: 37.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.3325, allocations: 53.25 kB / 426.2 MB, free: 37.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.3326, allocations: 156 kB / 426.3 MB, free: 37.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.3326, allocations: 27.2 kB / 426.3 MB, free: 37.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.3328, allocations: 156.1 kB / 426.5 MB, free: 37.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.18e-05/0.3329, allocations: 70.53 kB / 426.6 MB, free: 37.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-06/0.3329, allocations: 0 / 426.6 MB, free: 37.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.018e-05/0.333, allocations: 326.6 kB / 426.9 MB, free: 36.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.953e-05/0.3331, allocations: 41.83 kB / 426.9 MB, free: 36.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.3332, allocations: 101.5 kB / 427 MB, free: 36.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.3333, allocations: 59.73 kB / 427.1 MB, free: 36.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3333, allocations: 1.875 kB / 427.1 MB, free: 36.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003033/0.3336, allocations: 214.9 kB / 427.3 MB, free: 36.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3336, allocations: 3.656 kB / 427.3 MB, free: 36.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.3336, allocations: 3.75 kB / 427.3 MB, free: 36.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3337, allocations: 6.328 kB / 427.3 MB, free: 36.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.3339, allocations: 50.66 kB / 427.3 MB, free: 36.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.3339, allocations: 6.391 kB / 427.4 MB, free: 36.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.956e-05/0.334, allocations: 11.08 kB / 427.4 MB, free: 36.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.334, allocations: 8.422 kB / 427.4 MB, free: 36.87 MB / 350.1 MB Warning: Assuming fixed start value for the following 5 variables: p3_sbml:VARIABLE(start = 0.95 fixed = true ) type: Real Ca_Cyt.n:VARIABLE(min = 0.0 unit = "mol" fixed = true stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real endoplasmicReticulum.CaER.n:VARIABLE(min = 0.0 unit = "mol" fixed = true stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real V:VARIABLE(start = 1.0 fixed = true stateSelect=StateSelect.prefer ) "Compartment volume" type: Real endoplasmicReticulum.V:VARIABLE(start = 1.0 fixed = true stateSelect=StateSelect.prefer ) "Compartment volume" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 28 * 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.0001993/0.3342, allocations: 155.9 kB / 427.5 MB, free: 36.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.3343, allocations: 16.03 kB / 427.5 MB, free: 36.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/0.3345, allocations: 162.9 kB / 427.7 MB, free: 36.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3346, allocations: 2.906 kB / 427.7 MB, free: 36.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3346, allocations: 0.6875 kB / 427.7 MB, free: 36.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.3346, allocations: 4.031 kB / 427.7 MB, free: 36.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007115/0.3353, allocations: 0.5231 MB / 428.2 MB, free: 36.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3353, allocations: 0.625 kB / 428.2 MB, free: 36.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.3355, allocations: 31.28 kB / 428.3 MB, free: 36.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3355, allocations: 3.375 kB / 428.3 MB, free: 36.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.3355, allocations: 10.45 kB / 428.3 MB, free: 36.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3355, allocations: 1.359 kB / 428.3 MB, free: 36.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3355, allocations: 2.812 kB / 428.3 MB, free: 36.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.3359, allocations: 307.8 kB / 428.6 MB, free: 36.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.3359, allocations: 89.09 kB / 428.7 MB, free: 36.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.3359, allocations: 7.469 kB / 428.7 MB, free: 36.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.336, allocations: 3.938 kB / 428.7 MB, free: 36.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.3361, allocations: 13.95 kB / 428.7 MB, free: 36.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.3361, allocations: 11.44 kB / 428.7 MB, free: 36.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.017e-05/0.3362, allocations: 108.2 kB / 428.8 MB, free: 36.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3362, allocations: 0 / 428.8 MB, free: 36.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.3364, allocations: 38.94 kB / 428.8 MB, free: 36.08 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (V,endoplasmicReticulum.V,endoplasmicReticulum.CaER.n,Ca_Cyt.n,p3_sbml) * 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 (18): * Single equations (assignments): 18 * 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.0004595/0.3369, allocations: 0.8414 MB / 429.7 MB, free: 35.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002356/0.3371, allocations: 135.5 kB / 429.8 MB, free: 35.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3372, allocations: 0 / 429.8 MB, free: 35.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.413e-05/0.3372, allocations: 63.75 kB / 429.9 MB, free: 35.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.3376, allocations: 13.47 kB / 429.9 MB, free: 35.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.339, allocations: 1.23 MB / 431.1 MB, free: 34.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.3392, allocations: 0.7393 MB / 431.9 MB, free: 34.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.083e-05/0.3392, allocations: 13.8 kB / 431.9 MB, free: 34.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.996e-05/0.3393, allocations: 65.14 kB / 431.9 MB, free: 34.07 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3393, allocations: 0 / 431.9 MB, free: 34.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.3525, allocations: 2.926 MB / 434.9 MB, free: 33.91 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001357/0.3527, allocations: 175.4 kB / 435 MB, free: 33.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.089, allocations: 3.938 kB / 435 MB, free: 33.66 MB / 350.1 MB (rm -f BioChem_BioChem.Examples.CaOscillations.Cytosol.pipe ; mkfifo BioChem_BioChem.Examples.CaOscillations.Cytosol.pipe ; head -c 1048576 < BioChem_BioChem.Examples.CaOscillations.Cytosol.pipe >> ../files/BioChem_BioChem.Examples.CaOscillations.Cytosol.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BioChem_BioChem_Examples_CaOscillations_Cytosol_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 BioChem_BioChem_Examples_CaOscillations_Cytosol.fmu > BioChem_BioChem.Examples.CaOscillations.Cytosol.pipe 2>&1) Environment - environmentSimulation: