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.004898/0.004898, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001112/0.001112, allocations: 198.7 kB / 16.67 MB, free: 5.934 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.41/1.41, 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.2064/0.2064, allocations: 12.26 MB / 302.8 MB, free: 1.266 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 63.91 kB / 419.5 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2869, allocations: 52.08 MB / 471.6 MB, free: 16.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CaOscillations.Cytosol): time 0.004858/0.2918, allocations: 2.82 MB / 474.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000235/0.2921, allocations: 189.2 kB / 474.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.775e-05/0.2922, allocations: 8.625 kB / 474.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.35e-05/0.2923, allocations: 27 kB / 474.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.2924, allocations: 48.94 kB / 474.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.2926, allocations: 52 kB / 474.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.2929, allocations: 187.9 kB / 474.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.2931, allocations: 106.3 kB / 475 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.938e-05/0.2932, allocations: 76.59 kB / 475.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.2934, allocations: 102.8 kB / 475.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.917e-05/0.2934, allocations: 22 kB / 475.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.146e-05/0.2935, allocations: 22 kB / 475.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.978e-05/0.2935, allocations: 49.28 kB / 475.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.244e-05/0.2936, allocations: 107 kB / 475.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.2939, allocations: 233 kB / 475.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2939, allocations: 0 / 475.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.2939, allocations: 0 / 475.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.2939, allocations: 4 kB / 475.6 MB, free: 13.68 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.000692/0.2946, allocations: 0.5 MB / 476.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.2946, allocations: 9.625 kB / 476.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.795e-05/0.2947, allocations: 65.53 kB / 476.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.708e-05/0.2948, allocations: 29.12 kB / 476.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.2949, allocations: 191 kB / 476.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.2949, allocations: 18.31 kB / 476.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.489e-05/0.295, allocations: 25.66 kB / 476.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003662/0.2954, allocations: 200.6 kB / 476.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.2954, allocations: 7.875 kB / 476.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.2954, allocations: 10.84 kB / 476.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.2954, allocations: 5.25 kB / 476.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.2957, allocations: 135.3 kB / 476.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.297, allocations: 0.7646 MB / 477.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.2972, allocations: 104.3 kB / 477.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.2975, allocations: 102 kB / 477.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.2975, allocations: 5.125 kB / 477.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.2976, allocations: 36.95 kB / 477.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.2976, allocations: 0 / 477.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001265/0.2988, allocations: 0.5791 MB / 478.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.2989, allocations: 53.97 kB / 478.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.299, allocations: 155.1 kB / 478.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.299, allocations: 33.7 kB / 478.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.993e-05/0.2991, allocations: 155.9 kB / 478.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.2992, allocations: 70.7 kB / 478.9 MB, free: 11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.539e-05/0.2992, allocations: 45.12 kB / 478.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.859e-05/0.2993, allocations: 325.4 kB / 479.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.309e-05/0.2994, allocations: 44.2 kB / 479.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.2995, allocations: 97.23 kB / 479.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.3008, allocations: 388.5 kB / 479.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3008, allocations: 0 / 479.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003214/0.3012, allocations: 206.2 kB / 480 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3012, allocations: 6.219 kB / 480 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.3012, allocations: 9.281 kB / 480 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.3012, allocations: 2.969 kB / 480 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.3014, allocations: 62.91 kB / 480 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3015, allocations: 1.656 kB / 480 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.992e-05/0.3015, allocations: 8.406 kB / 480 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.3016, allocations: 6.531 kB / 480 MB, free: 10.17 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.0002534/0.3018, allocations: 151.1 kB / 480.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.3019, allocations: 14.66 kB / 480.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002808/0.3022, allocations: 172.9 kB / 480.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3022, allocations: 2.219 kB / 480.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3022, allocations: 0 / 480.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3022, allocations: 0 / 480.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006773/0.3029, allocations: 0.5126 MB / 480.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3029, allocations: 4 kB / 480.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.3031, allocations: 37.55 kB / 480.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3031, allocations: 1.219 kB / 480.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.3031, allocations: 1.25 kB / 480.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3031, allocations: 1.156 kB / 480.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3031, allocations: 3.984 kB / 480.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/0.3035, allocations: 314.8 kB / 481.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.3036, allocations: 95.97 kB / 481.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.3036, allocations: 9.406 kB / 481.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.3037, allocations: 5.469 kB / 481.4 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.3037, allocations: 8.766 kB / 481.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.3038, allocations: 5.094 kB / 481.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.29e-05/0.3038, allocations: 112.5 kB / 481.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3038, allocations: 0 / 481.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002986/0.3041, allocations: 36.94 kB / 481.5 MB, free: 9 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.0005559/0.3047, allocations: 0.8453 MB / 482.4 MB, free: 8.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002881/0.305, allocations: 137.4 kB / 482.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.305, allocations: 0 / 482.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.3051, allocations: 65.84 kB / 482.6 MB, free: 8.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.3054, allocations: 18.34 kB / 482.6 MB, free: 8.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.3075, allocations: 2.166 MB / 484.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/0.3077, allocations: 0.7392 MB / 485.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.306e-05/0.3078, allocations: 13.14 kB / 485.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.878e-05/0.3079, allocations: 64.03 kB / 485.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3079, allocations: 4 kB / 485.6 MB, free: 5.547 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.3309, allocations: 3.307 MB / 488.9 MB, free: 3.852 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.797/8.128, allocations: 5.656 kB / 488.9 MB, free: 3.848 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 & python3 -m fmpy simulate --output-file BioChem_BioChem.Examples.CaOscillations.Cytosol_res.csv --start-time 0 --stop-time 120 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 120 BioChem_BioChem_Examples_CaOscillations_Cytosol.fmu > BioChem_BioChem.Examples.CaOscillations.Cytosol.pipe 2>&1)