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.004805/0.004805, allocations: 101.9 kB / 15.73 MB, free: 6.496 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.001297/0.001297, allocations: 199.1 kB / 16.68 MB, free: 6.375 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.508/1.508, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.2-master/package.mo): time 0.1921/0.1921, allocations: 12.26 MB / 302.8 MB, free: 1.238 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 67.89 kB / 419.5 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2383, allocations: 52.08 MB / 471.6 MB, free: 16.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BioChem.Examples.CaOscillations.Cytosol): time 0.003761/0.2421, allocations: 2.804 MB / 474.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002256/0.2423, allocations: 200.2 kB / 474.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.2424, allocations: 8.312 kB / 474.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.937e-05/0.2425, allocations: 30.64 kB / 474.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.2427, allocations: 45.11 kB / 474.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.2429, allocations: 49.09 kB / 474.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.243, allocations: 184 kB / 474.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002369/0.2433, allocations: 105.3 kB / 475 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.888e-05/0.2434, allocations: 80.83 kB / 475.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.2436, allocations: 103.2 kB / 475.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.378e-05/0.2436, allocations: 22.31 kB / 475.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.642e-05/0.2437, allocations: 20.72 kB / 475.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.2437, allocations: 50 kB / 475.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.2438, allocations: 102 kB / 475.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.2441, allocations: 240.1 kB / 475.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.2441, allocations: 4 kB / 475.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2441, allocations: 1.062 kB / 475.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.2441, allocations: 0 / 475.6 MB, free: 13.53 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.0006173/0.2448, allocations: 0.4917 MB / 476.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2448, allocations: 13.62 kB / 476.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.842e-05/0.2449, allocations: 61.59 kB / 476.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.063e-05/0.2449, allocations: 29.12 kB / 476.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.832e-05/0.245, allocations: 191 kB / 476.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.2451, allocations: 18.56 kB / 476.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.334e-05/0.2451, allocations: 28.81 kB / 476.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.2454, allocations: 205.1 kB / 476.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.2454, allocations: 3.938 kB / 476.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.2455, allocations: 10.75 kB / 476.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.2455, allocations: 9.438 kB / 476.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.2457, allocations: 138.9 kB / 476.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.2469, allocations: 0.758 MB / 477.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.247, allocations: 103.3 kB / 477.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.2473, allocations: 106.5 kB / 477.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.2473, allocations: 1.125 kB / 477.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.2473, allocations: 35.62 kB / 477.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.2473, allocations: 1.5 kB / 477.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001161/0.2485, allocations: 0.575 MB / 478.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.062e-05/0.2485, allocations: 57.69 kB / 478.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.745e-05/0.2486, allocations: 154.3 kB / 478.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.2487, allocations: 30.7 kB / 478.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.2487, allocations: 159.7 kB / 478.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.2488, allocations: 62.78 kB / 478.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.938e-05/0.2488, allocations: 49.47 kB / 478.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.419e-05/0.2489, allocations: 321.1 kB / 479.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.249, allocations: 47.86 kB / 479.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.782e-05/0.2491, allocations: 96.8 kB / 479.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.2504, allocations: 392.1 kB / 479.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2504, allocations: 1.375 kB / 479.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002873/0.2507, allocations: 202.3 kB / 479.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.2507, allocations: 9.5 kB / 480 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2507, allocations: 13.2 kB / 480 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.2508, allocations: 7.797 kB / 480 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.251, allocations: 45.83 kB / 480 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.251, allocations: 7.469 kB / 480 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.6e-05/0.2511, allocations: 7.375 kB / 480 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.2511, allocations: 6 kB / 480 MB, free: 10.03 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.0002126/0.2513, allocations: 159.2 kB / 480.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.2514, allocations: 18.47 kB / 480.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.2516, allocations: 169.6 kB / 480.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2516, allocations: 1.5 kB / 480.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2517, allocations: 1.594 kB / 480.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2517, allocations: 0 / 480.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005949/0.2523, allocations: 0.5201 MB / 480.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.2523, allocations: 0 / 480.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.2525, allocations: 33.39 kB / 480.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.2525, allocations: 0 / 480.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.2525, allocations: 5.688 kB / 480.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.2525, allocations: 5.703 kB / 480.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2525, allocations: 4 kB / 480.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.2529, allocations: 317.6 kB / 481.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.686e-05/0.2529, allocations: 88.86 kB / 481.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.31e-05/0.2529, allocations: 5.312 kB / 481.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.253, allocations: 5.156 kB / 481.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.2531, allocations: 10.14 kB / 481.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.2531, allocations: 3.781 kB / 481.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.023e-05/0.2532, allocations: 112.5 kB / 481.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2532, allocations: 0 / 481.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.2534, allocations: 37.47 kB / 481.5 MB, free: 8.855 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.0004728/0.2539, allocations: 0.8478 MB / 482.4 MB, free: 8.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.2542, allocations: 140.8 kB / 482.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.2542, allocations: 0 / 482.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.547e-05/0.2543, allocations: 65.06 kB / 482.6 MB, free: 8.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.2546, allocations: 21.45 kB / 482.6 MB, free: 8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.2565, allocations: 2.156 MB / 484.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001566/0.2566, allocations: 0.7428 MB / 485.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.115e-05/0.2567, allocations: 16.61 kB / 485.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.561e-05/0.2568, allocations: 60.77 kB / 485.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of SimCode: time 7.81e-07/0.2568, allocations: 0 / 485.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.2818, allocations: 3.31 MB / 488.9 MB, free: 3.699 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.152/8.434, allocations: 9.688 kB / 488.9 MB, free: 3.691 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)