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.01498/0.01498, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.00288/0.00288, allocations: 185.4 kB / 16.67 MB, free: 5.977 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.628/1.628, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.2621/0.2621, allocations: 12.25 MB / 302.8 MB, free: 1.23 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 67.89 kB / 419.5 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3289, allocations: 52.07 MB / 471.6 MB, free: 16.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CaOscillations.Cytosol): time 0.004471/0.3334, allocations: 2.814 MB / 474.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002577/0.3337, allocations: 201 kB / 474.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.144e-05/0.3338, allocations: 10.97 kB / 474.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.318e-05/0.3339, allocations: 33.16 kB / 474.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.3341, allocations: 39.41 kB / 474.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.3343, allocations: 50.23 kB / 474.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.3345, allocations: 188 kB / 474.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.3348, allocations: 96.97 kB / 475 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.809e-05/0.3349, allocations: 77.97 kB / 475.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.335, allocations: 106.9 kB / 475.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.385e-05/0.3351, allocations: 25.94 kB / 475.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.605e-05/0.3351, allocations: 20.62 kB / 475.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.3352, allocations: 46.72 kB / 475.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.3353, allocations: 109.5 kB / 475.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.3355, allocations: 229.7 kB / 475.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3355, allocations: 4 kB / 475.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3355, allocations: 1.375 kB / 475.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.3355, allocations: 0 / 475.6 MB, free: 13.6 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.0006836/0.3362, allocations: 0.495 MB / 476.1 MB, free: 13.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3363, allocations: 9.625 kB / 476.1 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.594e-05/0.3363, allocations: 62.97 kB / 476.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.107e-05/0.3364, allocations: 33.03 kB / 476.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.3366, allocations: 186.9 kB / 476.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.3366, allocations: 18.56 kB / 476.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.438e-05/0.3366, allocations: 28.52 kB / 476.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.337, allocations: 204.1 kB / 476.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.337, allocations: 5.312 kB / 476.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.3371, allocations: 9.375 kB / 476.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.3371, allocations: 6.594 kB / 476.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002413/0.3373, allocations: 131.4 kB / 476.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.3386, allocations: 0.7683 MB / 477.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.3388, allocations: 103.2 kB / 477.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.339, allocations: 102.7 kB / 477.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.3391, allocations: 1.312 kB / 477.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.3391, allocations: 31.84 kB / 477.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.3391, allocations: 0 / 477.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001241/0.3403, allocations: 0.5737 MB / 478.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.3404, allocations: 53.62 kB / 478.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.3406, allocations: 159.5 kB / 478.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.3406, allocations: 25.7 kB / 478.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.3407, allocations: 163.5 kB / 478.8 MB, free: 11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.3407, allocations: 62.41 kB / 478.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-05/0.3408, allocations: 44.95 kB / 478.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.342e-05/0.3409, allocations: 329.4 kB / 479.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.052e-05/0.3409, allocations: 48.11 kB / 479.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.3411, allocations: 97.27 kB / 479.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/0.3424, allocations: 379.5 kB / 479.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3424, allocations: 0 / 479.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003098/0.3427, allocations: 214.2 kB / 479.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.3427, allocations: 5.594 kB / 479.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3427, allocations: 9.625 kB / 479.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.3428, allocations: 6.891 kB / 479.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.343, allocations: 50.58 kB / 480 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.343, allocations: 2.594 kB / 480 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.682e-05/0.3431, allocations: 7.906 kB / 480 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.3431, allocations: 11.22 kB / 480 MB, free: 10.11 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.0002465/0.3433, allocations: 154.4 kB / 480.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.3434, allocations: 14.56 kB / 480.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.3437, allocations: 176.7 kB / 480.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3437, allocations: 1.969 kB / 480.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3437, allocations: 0 / 480.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3437, allocations: 0.9688 kB / 480.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000642/0.3444, allocations: 0.5249 MB / 480.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3444, allocations: 1.031 kB / 480.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.3446, allocations: 33.17 kB / 480.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3446, allocations: 1 kB / 480.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.3446, allocations: 5.125 kB / 480.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.3446, allocations: 5.141 kB / 480.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3446, allocations: 0 / 480.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.345, allocations: 308.9 kB / 481.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.345, allocations: 87.36 kB / 481.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.3451, allocations: 6.594 kB / 481.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.818e-05/0.3452, allocations: 1.406 kB / 481.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.3452, allocations: 13.45 kB / 481.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.3452, allocations: 2.594 kB / 481.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.797e-05/0.3453, allocations: 112.8 kB / 481.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3453, allocations: 0 / 481.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.3456, allocations: 38.81 kB / 481.5 MB, free: 8.941 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.0005065/0.3461, allocations: 0.8462 MB / 482.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002738/0.3464, allocations: 147 kB / 482.5 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3464, allocations: 0 / 482.5 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.428e-05/0.3465, allocations: 68.31 kB / 482.5 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.3468, allocations: 24.95 kB / 482.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.3489, allocations: 2.141 MB / 484.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.3492, allocations: 0.7394 MB / 485.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.451e-05/0.3492, allocations: 20.94 kB / 485.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.703e-05/0.3494, allocations: 64.08 kB / 485.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3494, allocations: 0 / 485.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.3715, allocations: 3.338 MB / 488.9 MB, free: 3.781 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.695/9.067, allocations: 8.781 kB / 488.9 MB, free: 3.777 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)