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-master/package.mo", uses=false) Using package BioChem with version 1.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-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(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.0009259/0.0009261, allocations: 90.67 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.005598/0.005598, allocations: 171.1 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.275/1.275, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.1723/0.1723, allocations: 12.25 MB / 303.7 MB, free: 2 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002856/0.0002856, allocations: 8 kB / 367.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09146/0.09175, allocations: 53.09 MB / 420.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CaOscillations.Cytosol): time 0.002949/0.09474, allocations: 2.487 MB / 423.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002138/0.09497, allocations: 187.2 kB / 423.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.965e-05/0.09504, allocations: 8 kB / 423.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.608e-05/0.09509, allocations: 31.8 kB / 423.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.09522, allocations: 39.64 kB / 423.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.09538, allocations: 39.95 kB / 423.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.09556, allocations: 179.2 kB / 423.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.09574, allocations: 90.53 kB / 423.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.95e-05/0.0958, allocations: 63.72 kB / 423.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.09592, allocations: 79.55 kB / 423.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.09595, allocations: 12 kB / 423.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.146e-05/0.09598, allocations: 8 kB / 423.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.06e-05/0.09601, allocations: 31.8 kB / 424 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.459e-05/0.0961, allocations: 117.2 kB / 424.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.09629, allocations: 215.4 kB / 424.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.0963, allocations: 3.938 kB / 424.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.09631, allocations: 4 kB / 424.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.09632, allocations: 0 / 424.3 MB, free: 0.5586 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.0005514/0.09688, allocations: 459.5 kB / 424.7 MB, free: 60 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.09692, allocations: 12.03 kB / 424.8 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.1447/0.2416, allocations: 62.91 kB / 424.8 MB, free: 38.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.352e-05/0.2417, allocations: 22.12 kB / 424.8 MB, free: 38.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.2418, allocations: 193.1 kB / 425 MB, free: 37.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.2418, allocations: 17.47 kB / 425 MB, free: 37.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.2419, allocations: 26.19 kB / 425.1 MB, free: 37.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.2422, allocations: 202.8 kB / 425.3 MB, free: 37.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.2422, allocations: 3.938 kB / 425.3 MB, free: 37.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.2422, allocations: 9.781 kB / 425.3 MB, free: 37.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.2423, allocations: 7.344 kB / 425.3 MB, free: 37.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.2425, allocations: 135.7 kB / 425.4 MB, free: 37.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.2437, allocations: 0.7636 MB / 426.2 MB, free: 37.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.2439, allocations: 104.8 kB / 426.3 MB, free: 37.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.2441, allocations: 99.05 kB / 426.4 MB, free: 37.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.2441, allocations: 3.797 kB / 426.4 MB, free: 37.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.306e-05/0.2442, allocations: 36.31 kB / 426.4 MB, free: 37.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.2442, allocations: 0.9375 kB / 426.4 MB, free: 37.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001107/0.2453, allocations: 0.5693 MB / 427 MB, free: 37.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/0.2453, allocations: 58.81 kB / 427 MB, free: 37.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.881e-05/0.2454, allocations: 157.2 kB / 427.2 MB, free: 36.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.2454, allocations: 27.27 kB / 427.2 MB, free: 36.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.2455, allocations: 159 kB / 427.4 MB, free: 36.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.2455, allocations: 63 kB / 427.4 MB, free: 36.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.2456, allocations: 28.72 kB / 427.5 MB, free: 36.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.763e-05/0.2456, allocations: 324.6 kB / 427.8 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.958e-05/0.2457, allocations: 39.22 kB / 427.8 MB, free: 36.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.724e-05/0.2458, allocations: 103.7 kB / 427.9 MB, free: 36.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.2471, allocations: 404 kB / 428.3 MB, free: 36.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2472, allocations: 0 / 428.3 MB, free: 36.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002636/0.2474, allocations: 204.1 kB / 428.5 MB, free: 36.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2474, allocations: 16.38 kB / 428.5 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2475, allocations: 3.625 kB / 428.5 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.2475, allocations: 2.969 kB / 428.5 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.2477, allocations: 47.14 kB / 428.6 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.2477, allocations: 8.078 kB / 428.6 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.338e-05/0.2478, allocations: 13.69 kB / 428.6 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.2478, allocations: 11.88 kB / 428.6 MB, free: 36.25 MB / 350.1 MB Warning: Assuming fixed start value for the following 5 variables: 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 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 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001704/0.248, allocations: 156 kB / 428.8 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.248, allocations: 13.78 kB / 428.8 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/0.2483, allocations: 169.1 kB / 429 MB, free: 36.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2483, allocations: 0 / 429 MB, free: 36.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2483, allocations: 3.312 kB / 429 MB, free: 36.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2483, allocations: 1.078 kB / 429 MB, free: 36.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000553/0.2489, allocations: 0.5177 MB / 429.5 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2489, allocations: 0 / 429.5 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.2491, allocations: 35.77 kB / 429.5 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2491, allocations: 3.219 kB / 429.5 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.2491, allocations: 8.562 kB / 429.5 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2491, allocations: 5.094 kB / 429.5 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2491, allocations: 0 / 429.5 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.2494, allocations: 311.4 kB / 429.8 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/0.2494, allocations: 88.36 kB / 429.9 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.2495, allocations: 8 kB / 429.9 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.2496, allocations: 11.11 kB / 429.9 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.2496, allocations: 7.453 kB / 429.9 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.2496, allocations: 10.69 kB / 430 MB, free: 35.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.615e-05/0.2497, allocations: 105.6 kB / 430.1 MB, free: 35.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2497, allocations: 0 / 430.1 MB, free: 35.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.2499, allocations: 42.56 kB / 430.1 MB, free: 35.45 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004196/0.2504, allocations: 0.8418 MB / 430.9 MB, free: 34.78 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.2506, allocations: 139.1 kB / 431.1 MB, free: 34.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.2506, allocations: 2.156 kB / 431.1 MB, free: 34.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.301e-05/0.2507, allocations: 64.83 kB / 431.1 MB, free: 34.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.251, allocations: 15.94 kB / 431.2 MB, free: 34.76 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.2528, allocations: 2.281 MB / 433.4 MB, free: 33.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.2529, allocations: 0.7401 MB / 434.2 MB, free: 32.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.281e-05/0.253, allocations: 16.11 kB / 434.2 MB, free: 32.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.556e-05/0.2531, allocations: 67.09 kB / 434.3 MB, free: 32.52 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2531, allocations: 0 / 434.3 MB, free: 32.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2833/0.5364, allocations: 2.985 MB / 437.2 MB, free: 32.33 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/0.5366, allocations: 187.9 kB / 437.4 MB, free: 32.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.224, allocations: 0 / 437.4 MB, free: 32.07 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/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)