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.002629/0.002629, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002341/0.002341, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.554/2.554, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.4879/0.4879, allocations: 12.26 MB / 302.7 MB, free: 1.293 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.002467/0.002467, allocations: 71.88 kB / 365.9 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2544, allocations: 52.09 MB / 418 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CaOscillations.Cytosol): time 0.01026/0.2648, allocations: 2.807 MB / 420.8 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008196/0.2657, allocations: 183.3 kB / 420.9 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002827/0.266, allocations: 8 kB / 420.9 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.2662, allocations: 31.69 kB / 421 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.2665, allocations: 47.56 kB / 421 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.2667, allocations: 47.88 kB / 421.1 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004123/0.2671, allocations: 187.2 kB / 421.3 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005025/0.2677, allocations: 107.6 kB / 421.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.2679, allocations: 79.66 kB / 421.4 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003265/0.2683, allocations: 99.55 kB / 421.5 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.796e-05/0.2684, allocations: 20 kB / 421.6 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.21e-05/0.2685, allocations: 24 kB / 421.6 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.492e-05/0.2686, allocations: 51.77 kB / 421.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.2687, allocations: 103.5 kB / 421.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.269, allocations: 227.4 kB / 421.9 MB, free: 1.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.269, allocations: 4 kB / 422 MB, free: 1.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.269, allocations: 0 / 422 MB, free: 1.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.269, allocations: 0 / 422 MB, free: 1.492 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.001395/0.2704, allocations: 0.4993 MB / 422.5 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001048/0.2705, allocations: 8.031 kB / 422.5 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001832/0.2707, allocations: 62.72 kB / 422.5 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.2709, allocations: 24.66 kB / 422.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.2711, allocations: 192 kB / 422.7 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.2711, allocations: 24.88 kB / 422.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.318e-05/0.2712, allocations: 24.38 kB / 422.8 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004099/0.2716, allocations: 209.5 kB / 423 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.324e-05/0.2717, allocations: 3.938 kB / 423 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.282e-05/0.2718, allocations: 12 kB / 423 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.2718, allocations: 4 kB / 423 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004079/0.2722, allocations: 130.2 kB / 423.1 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4751/0.7473, allocations: 0.7624 MB / 423.9 MB, free: 40.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/0.7478, allocations: 105.4 kB / 424 MB, free: 40.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.7481, allocations: 97.53 kB / 424.1 MB, free: 40.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.7481, allocations: 5.531 kB / 424.1 MB, free: 40.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.7482, allocations: 36.25 kB / 424.1 MB, free: 40.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 3.617e-06/0.7482, allocations: 0 / 424.1 MB, free: 40.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002208/0.7504, allocations: 0.5758 MB / 424.7 MB, free: 40.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.7505, allocations: 57.19 kB / 424.8 MB, free: 40.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.7506, allocations: 151.3 kB / 424.9 MB, free: 40.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/0.7507, allocations: 27.14 kB / 424.9 MB, free: 40.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.7509, allocations: 157.5 kB / 425.1 MB, free: 39.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.751, allocations: 71.56 kB / 425.2 MB, free: 39.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.7512, allocations: 40.44 kB / 425.2 MB, free: 39.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.7514, allocations: 330 kB / 425.5 MB, free: 39.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.7515, allocations: 47.7 kB / 425.6 MB, free: 39.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.7518, allocations: 92.84 kB / 425.7 MB, free: 39.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/0.7536, allocations: 389.8 kB / 426 MB, free: 39.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.7537, allocations: 2.812 kB / 426 MB, free: 39.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005872/0.7543, allocations: 214.3 kB / 426.3 MB, free: 39.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.622e-05/0.7544, allocations: 7.5 kB / 426.3 MB, free: 39.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.7544, allocations: 2.719 kB / 426.3 MB, free: 39.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.429e-05/0.7545, allocations: 5.188 kB / 426.3 MB, free: 39.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.7547, allocations: 54.48 kB / 426.3 MB, free: 39.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.7547, allocations: 2.812 kB / 426.3 MB, free: 39.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.211e-05/0.7548, allocations: 10.67 kB / 426.3 MB, free: 39.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.7548, allocations: 10.34 kB / 426.3 MB, free: 39.44 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.000322/0.7552, allocations: 146.9 kB / 426.5 MB, free: 39.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.7552, allocations: 16.94 kB / 426.5 MB, free: 39.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005554/0.7558, allocations: 161.6 kB / 426.7 MB, free: 39.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/0.7558, allocations: 6.812 kB / 426.7 MB, free: 39.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.038e-05/0.7558, allocations: 4.906 kB / 426.7 MB, free: 39.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.7559, allocations: 1.031 kB / 426.7 MB, free: 39.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.7571, allocations: 0.5148 MB / 427.2 MB, free: 38.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.7571, allocations: 3.406 kB / 427.2 MB, free: 38.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.7573, allocations: 40.44 kB / 427.2 MB, free: 38.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.7573, allocations: 1.438 kB / 427.2 MB, free: 38.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.7574, allocations: 2.688 kB / 427.2 MB, free: 38.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.7574, allocations: 1.469 kB / 427.2 MB, free: 38.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7574, allocations: 0.7656 kB / 427.2 MB, free: 38.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004982/0.7579, allocations: 311.8 kB / 427.5 MB, free: 38.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.344e-05/0.758, allocations: 94.2 kB / 427.6 MB, free: 38.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.774e-05/0.7581, allocations: 3.688 kB / 427.6 MB, free: 38.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.7583, allocations: 1.062 kB / 427.6 MB, free: 38.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.041e-05/0.7584, allocations: 11.61 kB / 427.7 MB, free: 38.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.7584, allocations: 10.31 kB / 427.7 MB, free: 38.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001585/0.7586, allocations: 112.6 kB / 427.8 MB, free: 38.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.7586, allocations: 0.9375 kB / 427.8 MB, free: 38.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004984/0.7592, allocations: 41.22 kB / 427.8 MB, free: 38.66 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.0007445/0.7599, allocations: 0.8433 MB / 428.7 MB, free: 37.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004822/0.7604, allocations: 147.3 kB / 428.8 MB, free: 37.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.7605, allocations: 0.8438 kB / 428.8 MB, free: 37.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.7606, allocations: 67.52 kB / 428.9 MB, free: 37.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006011/0.7613, allocations: 17.34 kB / 428.9 MB, free: 37.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004068/0.7654, allocations: 2.143 MB / 431 MB, free: 36.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.7657, allocations: 0.7441 MB / 431.8 MB, free: 35.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.7658, allocations: 11.84 kB / 431.8 MB, free: 35.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.766, allocations: 69.44 kB / 431.9 MB, free: 35.88 MB / 350.1 MB Notification: Performance of SimCode: time 1.834e-06/0.7661, allocations: 0 / 431.9 MB, free: 35.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04314/0.8092, allocations: 3.224 MB / 435.1 MB, free: 35.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.16, allocations: 9.391 kB / 435.1 MB, free: 35.5 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)