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.001014/0.001014, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.000992/0.0009919, allocations: 192.8 kB / 16.25 MB, free: 6.633 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.255/1.255, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 1.003/1.003, allocations: 12.27 MB / 302.4 MB, free: 1.352 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 59.91 kB / 365.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1243, allocations: 52.08 MB / 417.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CaOscillations.Cytosol): time 0.005168/0.1295, allocations: 2.861 MB / 420.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003009/0.1298, allocations: 191.2 kB / 420.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.184e-05/0.1299, allocations: 16 kB / 420.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.237e-05/0.13, allocations: 23.8 kB / 420.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.1302, allocations: 39.64 kB / 420.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.1305, allocations: 35.97 kB / 420.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.1307, allocations: 183.2 kB / 420.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.1309, allocations: 107.6 kB / 420.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.94e-05/0.131, allocations: 91.64 kB / 421 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.1312, allocations: 91.55 kB / 421.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.1312, allocations: 24 kB / 421.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.148e-05/0.1313, allocations: 20 kB / 421.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.54e-05/0.1313, allocations: 47.84 kB / 421.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.1315, allocations: 99.47 kB / 421.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.1317, allocations: 231.4 kB / 421.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.1318, allocations: 4 kB / 421.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1318, allocations: 3.938 kB / 421.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1318, allocations: 0 / 421.5 MB, free: 1.793 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.0008436/0.1326, allocations: 0.4954 MB / 422 MB, free: 1.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.1327, allocations: 12.03 kB / 422 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.586e-05/0.1328, allocations: 70.66 kB / 422.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.1328, allocations: 20.66 kB / 422.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.133, allocations: 188 kB / 422.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.133, allocations: 20.94 kB / 422.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.421e-05/0.1331, allocations: 24.38 kB / 422.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.1335, allocations: 205.5 kB / 422.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.1335, allocations: 11.86 kB / 422.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.1336, allocations: 8 kB / 422.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.1336, allocations: 8 kB / 422.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.1338, allocations: 134.2 kB / 422.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1974/0.3312, allocations: 0.7568 MB / 423.4 MB, free: 40.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.3315, allocations: 104.9 kB / 423.5 MB, free: 40.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.3317, allocations: 97.67 kB / 423.6 MB, free: 40.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.3318, allocations: 2.906 kB / 423.6 MB, free: 40.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.3318, allocations: 34.69 kB / 423.7 MB, free: 40.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 3.246e-06/0.3318, allocations: 0.5 kB / 423.7 MB, free: 40.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001358/0.3332, allocations: 0.5693 MB / 424.2 MB, free: 39.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.3332, allocations: 61.94 kB / 424.3 MB, free: 39.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.3334, allocations: 153.1 kB / 424.5 MB, free: 39.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.3334, allocations: 28.02 kB / 424.5 MB, free: 39.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.381e-05/0.3335, allocations: 157.3 kB / 424.6 MB, free: 39.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.766e-05/0.3335, allocations: 65.88 kB / 424.7 MB, free: 39.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/0.3336, allocations: 46.47 kB / 424.7 MB, free: 39.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.064e-05/0.3337, allocations: 326.6 kB / 425.1 MB, free: 39.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.419e-05/0.3338, allocations: 48.31 kB / 425.1 MB, free: 39.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.3339, allocations: 88.8 kB / 425.2 MB, free: 39.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.3353, allocations: 394.3 kB / 425.6 MB, free: 39.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3353, allocations: 4.469 kB / 425.6 MB, free: 39.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003222/0.3357, allocations: 207.5 kB / 425.8 MB, free: 39.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3357, allocations: 9.188 kB / 425.8 MB, free: 39.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.3357, allocations: 4.969 kB / 425.8 MB, free: 39.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.3357, allocations: 4.531 kB / 425.8 MB, free: 39.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.3359, allocations: 49.16 kB / 425.9 MB, free: 39.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.336, allocations: 5.812 kB / 425.9 MB, free: 39.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.3361, allocations: 10.56 kB / 425.9 MB, free: 39.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.3361, allocations: 9.844 kB / 425.9 MB, free: 39.14 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.0002855/0.3364, allocations: 154.4 kB / 426 MB, free: 39.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.3364, allocations: 13.28 kB / 426 MB, free: 39.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.3367, allocations: 172.2 kB / 426.2 MB, free: 38.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3368, allocations: 2.656 kB / 426.2 MB, free: 38.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.3368, allocations: 0.5 kB / 426.2 MB, free: 38.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.3368, allocations: 6.344 kB / 426.2 MB, free: 38.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006691/0.3374, allocations: 0.5173 MB / 426.7 MB, free: 38.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3375, allocations: 0.8438 kB / 426.7 MB, free: 38.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.3377, allocations: 35 kB / 426.8 MB, free: 38.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3377, allocations: 0.8438 kB / 426.8 MB, free: 38.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.3377, allocations: 7.312 kB / 426.8 MB, free: 38.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.3377, allocations: 6.547 kB / 426.8 MB, free: 38.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3377, allocations: 3.906 kB / 426.8 MB, free: 38.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.3381, allocations: 311.2 kB / 427.1 MB, free: 38.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.3381, allocations: 84.95 kB / 427.2 MB, free: 38.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.3381, allocations: 6.969 kB / 427.2 MB, free: 38.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.3383, allocations: 7.75 kB / 427.2 MB, free: 38.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.3383, allocations: 15.22 kB / 427.2 MB, free: 38.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.3383, allocations: 6.219 kB / 427.2 MB, free: 38.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.787e-05/0.3384, allocations: 112.9 kB / 427.3 MB, free: 38.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3384, allocations: 0 / 427.3 MB, free: 38.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.3387, allocations: 40.94 kB / 427.4 MB, free: 38.35 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.0005254/0.3392, allocations: 0.8343 MB / 428.2 MB, free: 37.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002728/0.3395, allocations: 150.5 kB / 428.3 MB, free: 37.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3395, allocations: 1.938 kB / 428.4 MB, free: 37.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.123e-05/0.3396, allocations: 71.02 kB / 428.4 MB, free: 37.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.3399, allocations: 11.77 kB / 428.4 MB, free: 37.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.3419, allocations: 2.228 MB / 430.7 MB, free: 36.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.3421, allocations: 0.7423 MB / 431.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.916e-05/0.3422, allocations: 14.91 kB / 431.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.711e-05/0.3423, allocations: 67.3 kB / 431.5 MB, free: 35.49 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3423, allocations: 0 / 431.5 MB, free: 35.49 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01427/0.3565, allocations: 3.145 MB / 434.6 MB, free: 35.24 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001443/0.3567, allocations: 185.2 kB / 434.8 MB, free: 34.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.117, allocations: 1.859 kB / 434.8 MB, free: 34.98 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)