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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0004426/0.0004426, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0004032/0.0004032, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.3053/0.3053, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.3/package.mo): time 0.01925/0.01925, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package BioChem with version 1.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BioChem 1.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BioChem.Examples.CaOscillations.Cytosol,fileNamePrefix="BioChem_BioChem_Examples_CaOscillations_Cytosol",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(BioChem.Examples.CaOscillations.Cytosol,fileNamePrefix="BioChem_BioChem_Examples_CaOscillations_Cytosol",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.002e-06/1.002e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.012e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(BioChem.Examples.CaOscillations.Cytosol): time 0.006165/0.006185, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0006645/0.006849, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0001814/0.007031, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.007176, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.007483, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.00775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0003098/0.008059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0002501/0.00831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.008581, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.008794, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 6.03e-05/0.008854, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 5.102e-05/0.008905, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 7.246e-05/0.008978, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.00912, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0003476/0.009467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 2.765e-05/0.009495, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.633e-06/0.009497, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 8.496e-06/0.009505, allocations: 0 / 0, free: 0 / 0 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.001205/0.01071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.879e-05/0.01078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001629/0.01094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002199/0.01116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.01137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.966e-05/0.01142, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 8.621e-05/0.01151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.00084/0.01235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.01237, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/0.01244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.01245, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005446/0.013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00242/0.01542, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0003377/0.01575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0003777/0.01613, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.01615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.01618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=15): time 2.698e-05/0.01621, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=17): time 0.002668/0.01888, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.01891, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.01917, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.0192, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.01934, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.01944, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.0196, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0001252/0.01973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.0199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.02012, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0007441/0.02087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.02087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008759/0.02175, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.02178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.02179, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.02181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.02215, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.02216, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.02233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.02237, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 5 variables: endoplasmicReticulum.V:VARIABLE(start = 1.0 fixed = true stateSelect=StateSelect.prefer ) \"Compartment volume\" type: Real endoplasmicReticulum.CaER.c:VARIABLE(min = 0.0 start = 0.0 unit = \"mol/l\" fixed = true stateSelect=StateSelect.prefer ) \"Current concentration of substance (mM)\" type: Real 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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.0002857/0.02266, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003173/0.02297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005124/0.02349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.02349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.0235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.02351, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/0.02597, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.02598, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.02626, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.02627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.424e-05/0.02631, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.02632, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.02632, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009318/0.02726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.02737, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.02747, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.02779, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 9.486e-05/0.02789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.02792, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001665/0.02808, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 3.437e-06/0.02809, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.00142/0.02951, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (V,Ca_Cyt.n,p3_sbml,endoplasmicReticulum.V,endoplasmicReticulum.CaER.c) * 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.001329/0.03084, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0005582/0.0314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.0314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.03162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.0334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004766/0.03817, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.03831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0001408/0.03845, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003119/0.03876, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0001571/0.03891, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.001275/0.04019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.00076/0.04095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.01605/0.057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 4.668e-06/0.057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 9.307e-06/0.05701, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0 MB unzipped): time 0.0001625/0.05717, allocations: 0 / 0, free: 0 / 0 Notification: FMU-only work: backend 0.001177, simCode 0.002309, templates 0.001266 Notification: Building FMU for platform 'wasm' (1/1). Notification: Finished FMU for platform 'wasm' (1/1). " [Timeout remaining time 660] simulate(BioChem.Examples.CaOscillations.Cytosol,startTime=0,stopTime=120,tolerance=1e-06,numberOfIntervals=2400,outputFormat="empty",variableFilter="",fileNamePrefix="BioChem_BioChem.Examples.CaOscillations.Cytosol",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=120 -tolerance=1e-06 -stepSize=0.05 -noemit",resimulateExecutable="BioChem_BioChem_Examples_CaOscillations_Cytosol.fmu") [Timeout 240] "" [Timeout remaining time 240] simulate(BioChem.Examples.CaOscillations.Cytosol,startTime=0,stopTime=120,tolerance=1e-06,numberOfIntervals=2400,outputFormat="empty",variableFilter="",fileNamePrefix="BioChem_BioChem.Examples.CaOscillations.Cytosol",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=120 -tolerance=1e-06 -stepSize=0.05 -noemit -s fmi3:me",resimulateExecutable="BioChem_BioChem_Examples_CaOscillations_Cytosol.fmu") [Timeout 240] "" [Timeout remaining time 240] simulate(BioChem.Examples.CaOscillations.Cytosol,startTime=0,stopTime=120,tolerance=1e-06,numberOfIntervals=2400,outputFormat="empty",variableFilter="",fileNamePrefix="BioChem_BioChem.Examples.CaOscillations.Cytosol",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=120 -tolerance=1e-06 -stepSize=0.05 -noemit -s fmi3:cs",resimulateExecutable="BioChem_BioChem_Examples_CaOscillations_Cytosol.fmu") [Timeout 240] "" [Timeout remaining time 240] [Calling sys.exit(0), Time elapsed: 1.146875920938328]