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.0007813/0.0007812, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008715/0.0008714, allocations: 177.3 kB / 15.95 MB, free: 216 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.288/1.288, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2/package.mo): time 0.1883/0.1883, allocations: 12.18 MB / 303.2 MB, free: 1.875 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002937, allocations: 8 kB / 366.9 MB, free: 9.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1131, allocations: 53.09 MB / 419.9 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CaOscillations.Cytosol): time 0.003241/0.1164, allocations: 2.328 MB / 422.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000243/0.1167, allocations: 207.2 kB / 422.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.383e-05/0.1168, allocations: 8 kB / 422.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.228e-05/0.1168, allocations: 23.86 kB / 422.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.117, allocations: 47.84 kB / 422.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.1171, allocations: 31.97 kB / 422.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.1173, allocations: 123.7 kB / 422.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.1175, allocations: 73.42 kB / 422.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.932e-05/0.1176, allocations: 63.72 kB / 422.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.1177, allocations: 71.62 kB / 422.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.1177, allocations: 12 kB / 422.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.482e-05/0.1178, allocations: 12 kB / 422.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.297e-05/0.1178, allocations: 31.83 kB / 423 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.657e-05/0.1179, allocations: 57.64 kB / 423 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.118, allocations: 167.8 kB / 423.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1181, allocations: 0 / 423.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1181, allocations: 0 / 423.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1181, allocations: 0 / 423.2 MB, free: 1.125 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.0006318/0.1187, allocations: 471.3 kB / 423.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1188, allocations: 15.97 kB / 423.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.097e-05/0.1188, allocations: 58.55 kB / 423.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.1189, allocations: 19.72 kB / 423.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.119, allocations: 194.7 kB / 423.9 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.119, allocations: 20.56 kB / 423.9 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.429e-05/0.1191, allocations: 31.92 kB / 424 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.1194, allocations: 200.9 kB / 424.2 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1194, allocations: 7.938 kB / 424.2 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.1195, allocations: 4 kB / 424.2 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1195, allocations: 8 kB / 424.2 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1974/0.3169, allocations: 134.1 kB / 424.3 MB, free: 38.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.3182, allocations: 0.7567 MB / 425.1 MB, free: 37.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.3184, allocations: 103 kB / 425.2 MB, free: 37.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.3184, allocations: 2.219 kB / 425.2 MB, free: 37.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.3185, allocations: 34.94 kB / 425.2 MB, free: 37.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.964e-06/0.3185, allocations: 3.844 kB / 425.2 MB, free: 37.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001179/0.3196, allocations: 0.5775 MB / 425.8 MB, free: 37.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.979e-05/0.3197, allocations: 55.81 kB / 425.8 MB, free: 37.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.982e-05/0.3198, allocations: 152.5 kB / 426 MB, free: 37.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.3198, allocations: 30.11 kB / 426 MB, free: 37.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.308e-05/0.3199, allocations: 153.2 kB / 426.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.3199, allocations: 68.05 kB / 426.2 MB, free: 37.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.3199, allocations: 3.562 kB / 426.2 MB, free: 37.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.993e-05/0.32, allocations: 324.3 kB / 426.6 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.417e-05/0.3201, allocations: 45 kB / 426.6 MB, free: 36.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.03e-05/0.3202, allocations: 93.14 kB / 426.7 MB, free: 36.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.3203, allocations: 66.55 kB / 426.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3203, allocations: 0 / 426.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002838/0.3206, allocations: 213.8 kB / 427 MB, free: 36.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3206, allocations: 6.125 kB / 427 MB, free: 36.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.3206, allocations: 0.7969 kB / 427 MB, free: 36.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3206, allocations: 8.547 kB / 427 MB, free: 36.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.3208, allocations: 56.62 kB / 427 MB, free: 36.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3209, allocations: 1.281 kB / 427 MB, free: 36.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.205e-05/0.321, allocations: 10.56 kB / 427.1 MB, free: 36.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.321, allocations: 7.828 kB / 427.1 MB, free: 36.6 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.0001757/0.3212, allocations: 153.5 kB / 427.2 MB, free: 36.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.3212, allocations: 19.28 kB / 427.2 MB, free: 36.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.3215, allocations: 166.3 kB / 427.4 MB, free: 36.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3215, allocations: 9.203 kB / 427.4 MB, free: 36.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3215, allocations: 0 / 427.4 MB, free: 36.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3215, allocations: 4.125 kB / 427.4 MB, free: 36.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.3218, allocations: 292.8 kB / 427.7 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3218, allocations: 3.031 kB / 427.7 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.322, allocations: 29.81 kB / 427.7 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.322, allocations: 0 / 427.7 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.322, allocations: 9.219 kB / 427.7 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.322, allocations: 0 / 427.7 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.322, allocations: 6.766 kB / 427.7 MB, free: 36.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.3223, allocations: 310.3 kB / 428 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.588e-05/0.3223, allocations: 91.2 kB / 428.1 MB, free: 36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.3224, allocations: 2.906 kB / 428.1 MB, free: 36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.3225, allocations: 7.781 kB / 428.1 MB, free: 36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.3225, allocations: 12.67 kB / 428.2 MB, free: 36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.3225, allocations: 10.3 kB / 428.2 MB, free: 36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.525e-05/0.3226, allocations: 109.8 kB / 428.3 MB, free: 35.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3226, allocations: 1.125 kB / 428.3 MB, free: 35.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.3229, allocations: 43.28 kB / 428.3 MB, free: 35.93 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.0003974/0.3233, allocations: 0.8413 MB / 429.2 MB, free: 35.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.3235, allocations: 139.6 kB / 429.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3235, allocations: 4.406 kB / 429.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.361e-05/0.3236, allocations: 67.5 kB / 429.4 MB, free: 35.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.3237, allocations: 14.47 kB / 429.4 MB, free: 35.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.3252, allocations: 2.134 MB / 431.5 MB, free: 33.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.3253, allocations: 0.7431 MB / 432.3 MB, free: 33.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.615e-05/0.3254, allocations: 15.62 kB / 432.3 MB, free: 33.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.528e-05/0.3255, allocations: 65 kB / 432.3 MB, free: 33.03 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3255, allocations: 0 / 432.3 MB, free: 33.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01023/0.3357, allocations: 2.915 MB / 435.2 MB, free: 32.88 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001082/0.3359, allocations: 160.7 kB / 435.4 MB, free: 32.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/1.884, allocations: 0 / 435.4 MB, free: 32.65 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: