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.001211/0.001211, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001279/0.001279, allocations: 194.7 kB / 16.14 MB, free: 6.66 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.276/1.276, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.1627/0.1627, allocations: 12.26 MB / 302.2 MB, free: 1.312 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 55.91 kB / 365.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0824/0.08357, allocations: 52.08 MB / 417.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CaOscillations.Cytosol): time 0.003996/0.08759, allocations: 2.872 MB / 420.1 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002178/0.08783, allocations: 195.2 kB / 420.3 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.08791, allocations: 8 kB / 420.3 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.755e-05/0.08799, allocations: 15.88 kB / 420.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.08811, allocations: 43.62 kB / 420.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.08827, allocations: 39.95 kB / 420.4 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.08844, allocations: 175.2 kB / 420.6 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.08862, allocations: 89.39 kB / 420.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.367e-05/0.08869, allocations: 75.72 kB / 420.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.08881, allocations: 95.48 kB / 420.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.08885, allocations: 16 kB / 420.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.058e-05/0.08888, allocations: 16 kB / 420.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.819e-05/0.08893, allocations: 47.81 kB / 420.9 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.199e-05/0.08901, allocations: 99.41 kB / 421 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.0892, allocations: 223.4 kB / 421.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.08921, allocations: 0 / 421.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.08922, allocations: 4 kB / 421.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.08923, allocations: 0 / 421.3 MB, free: 1.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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006397/0.08987, allocations: 0.498 MB / 421.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.08992, allocations: 8.031 kB / 421.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.78e-05/0.08998, allocations: 62.72 kB / 421.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.09003, allocations: 24.66 kB / 421.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.09015, allocations: 192 kB / 422 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.09018, allocations: 20.94 kB / 422.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/0.09022, allocations: 24.38 kB / 422.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/0.09056, allocations: 205.5 kB / 422.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.09058, allocations: 3.938 kB / 422.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.09061, allocations: 16 kB / 422.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.09062, allocations: 4 kB / 422.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/0.09086, allocations: 138.1 kB / 422.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1464/0.2373, allocations: 0.7561 MB / 423.2 MB, free: 40.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.2375, allocations: 103.9 kB / 423.3 MB, free: 40.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002531/0.2378, allocations: 97.77 kB / 423.4 MB, free: 40.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.2378, allocations: 6.891 kB / 423.4 MB, free: 40.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.2378, allocations: 35.16 kB / 423.4 MB, free: 40.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 2.225e-06/0.2378, allocations: 0.5625 kB / 423.4 MB, free: 40.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.00122/0.2391, allocations: 0.5735 MB / 424 MB, free: 39.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.064e-05/0.2391, allocations: 53.53 kB / 424.1 MB, free: 39.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.341e-05/0.2392, allocations: 152.8 kB / 424.2 MB, free: 39.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.2392, allocations: 29.08 kB / 424.2 MB, free: 39.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.2393, allocations: 156.8 kB / 424.4 MB, free: 39.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.2393, allocations: 64.39 kB / 424.5 MB, free: 39.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.93e-05/0.2394, allocations: 42.14 kB / 424.5 MB, free: 39.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.331e-05/0.2394, allocations: 324.4 kB / 424.8 MB, free: 39.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.038e-05/0.2395, allocations: 44.86 kB / 424.9 MB, free: 39.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.993e-05/0.2396, allocations: 97.7 kB / 425 MB, free: 39.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.241, allocations: 394.9 kB / 425.3 MB, free: 38.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.241, allocations: 3.25 kB / 425.3 MB, free: 38.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002934/0.2413, allocations: 212.1 kB / 425.6 MB, free: 38.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2414, allocations: 6.594 kB / 425.6 MB, free: 38.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.2414, allocations: 3.484 kB / 425.6 MB, free: 38.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.2414, allocations: 3.188 kB / 425.6 MB, free: 38.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.2416, allocations: 48.05 kB / 425.6 MB, free: 38.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.2416, allocations: 4.188 kB / 425.6 MB, free: 38.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.2417, allocations: 20.42 kB / 425.6 MB, free: 38.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.2417, allocations: 8 kB / 425.6 MB, free: 38.92 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.0002028/0.242, allocations: 148.9 kB / 425.8 MB, free: 38.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.242, allocations: 14.41 kB / 425.8 MB, free: 38.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.2423, allocations: 171.2 kB / 426 MB, free: 38.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2423, allocations: 3.531 kB / 426 MB, free: 38.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2423, allocations: 1.688 kB / 426 MB, free: 38.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2423, allocations: 2.016 kB / 426 MB, free: 38.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006098/0.2429, allocations: 0.519 MB / 426.5 MB, free: 38.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2429, allocations: 0 / 426.5 MB, free: 38.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.2431, allocations: 32.83 kB / 426.5 MB, free: 38.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2431, allocations: 5.156 kB / 426.5 MB, free: 38.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.2432, allocations: 6.062 kB / 426.5 MB, free: 38.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.2432, allocations: 8.625 kB / 426.5 MB, free: 38.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2432, allocations: 0.8438 kB / 426.5 MB, free: 38.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.2435, allocations: 302.9 kB / 426.8 MB, free: 38.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.632e-05/0.2435, allocations: 86.34 kB / 426.9 MB, free: 38.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.2435, allocations: 8.594 kB / 426.9 MB, free: 38.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.2437, allocations: 10.31 kB / 426.9 MB, free: 38.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.2437, allocations: 7.672 kB / 427 MB, free: 38.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.2437, allocations: 15.53 kB / 427 MB, free: 38.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.711e-05/0.2438, allocations: 106.2 kB / 427.1 MB, free: 38.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2438, allocations: 0 / 427.1 MB, free: 38.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.244, allocations: 41.06 kB / 427.1 MB, free: 38.13 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.0004274/0.2445, allocations: 0.8398 MB / 428 MB, free: 37.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.2447, allocations: 139.9 kB / 428.1 MB, free: 37.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2447, allocations: 0.7812 kB / 428.1 MB, free: 37.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.945e-05/0.2448, allocations: 65.58 kB / 428.2 MB, free: 37.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.2451, allocations: 15.33 kB / 428.2 MB, free: 37.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.2468, allocations: 2.237 MB / 430.4 MB, free: 35.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.2469, allocations: 0.7376 MB / 431.1 MB, free: 35.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.373e-05/0.247, allocations: 15.89 kB / 431.2 MB, free: 35.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.651e-05/0.2471, allocations: 67.48 kB / 431.2 MB, free: 35.27 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2471, allocations: 2.438 kB / 431.2 MB, free: 35.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.2705, allocations: 3.055 MB / 434.3 MB, free: 35.04 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001203/0.2707, allocations: 189.4 kB / 434.5 MB, free: 34.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/1.957, allocations: 0 / 434.5 MB, free: 34.77 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)