Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_sheep.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 Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000293/0.000293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.000597/0.00089, 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.0002456/0.0002456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0004578/0.0007034, 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.1039/0.1039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.04892/0.1529, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.373/0.373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.01467/0.3876, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/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(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_sheep,fileNamePrefix="Pharmacolibrary_Pharmacolibrary_NonDrugs_T_toxic_hazardous_Plutonium239_Plutonium239_Watts1975_sheep",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_sheep,fileNamePrefix="Pharmacolibrary_Pharmacolibrary_NonDrugs_T_toxic_hazardous_Plutonium239_Plutonium239_Watts1975_sheep",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.51e-07/4.51e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 7.605e-06/8.056e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_sheep): time 0.002097/0.002105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0008746/0.002979, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 3.519e-05/0.003014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 3.993e-05/0.003054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.003264, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0001249/0.003389, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0001514/0.00354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 2.304e-05/0.003563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.003719, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.003863, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.003887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 2.147e-05/0.003909, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 4.482e-05/0.003953, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 4.564e-05/0.003999, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 9.375e-05/0.004093, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 2.193e-05/0.004115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.142e-06/0.004116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 8.716e-06/0.004125, 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007183/0.004843, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.004894, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.527e-05/0.004959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 7.945e-05/0.005039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.005192, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/0.005225, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.005257, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.005421, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.005427, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.005441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-06/0.005443, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 7.401e-05/0.005517, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.005866, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.006028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 9.669e-06/0.006038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000111/0.006149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=13): time 2.575e-06/0.006152, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=13): time 0.0001574/0.006309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.006329, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.345e-05/0.006393, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.006422, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.006453, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.006486, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 6.198e-05/0.006548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.515e-05/0.006563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 4.039e-05/0.006603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 5.185e-05/0.006655, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 7.505e-05/0.00673, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.006732, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001322/0.006865, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.006887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.00689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.006899, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.007021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.007027, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.039e-05/0.007107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.007125, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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 6.444e-05/0.00719, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.007208, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.007362, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.007365, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.007369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.007372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.007481, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.007483, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-05/0.007573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.007601, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.007604, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.007625, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.007628, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.00763, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.007804, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.217e-05/0.007866, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-05/0.007928, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.007976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.007989, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 3.162e-05/0.00802, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.624e-06/0.008023, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0002949/0.008318, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q[1],qAbsorbed) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000144/0.008462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0001559/0.008618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.008624, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 4.899e-05/0.008673, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.008868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.01142, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 3.726e-05/0.01146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 5.969e-05/0.01152, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.01171, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.427e-05/0.01175, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.000965/0.01271, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.001434/0.01414, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.03644/0.05058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 9.608e-06/0.05059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 1.319e-05/0.05061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0 MB unzipped): time 0.0002308/0.05084, allocations: 0 / 0, free: 0 / 0 Notification: FMU-only work: backend 5.854e-05, simCode 0.000743, templates 0.0006009 Notification: Building FMU for platform 'wasm' (1/1). Notification: Finished FMU for platform 'wasm' (1/1). " [Timeout remaining time 660] cd("run_me") [Timeout 660] "" [Timeout remaining time 660] simulate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_sheep,startTime=0,stopTime=1.0368e+06,tolerance=1e-09,numberOfIntervals=500,outputFormat="empty",variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_sheep",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=1.0368e+06 -tolerance=1e-09 -stepSize=2073.6 -noemit -s fmi3:me",resimulateExecutable="../Pharmacolibrary_Pharmacolibrary_NonDrugs_T_toxic_hazardous_Plutonium239_Plutonium239_Watts1975_sheep.fmu") [Timeout 240] "" [Timeout remaining time 240] cd("..") [Timeout 660] "" [Timeout remaining time 660] cd("run_cs") [Timeout 660] "" [Timeout remaining time 660] simulate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_sheep,startTime=0,stopTime=1.0368e+06,tolerance=1e-09,numberOfIntervals=500,outputFormat="empty",variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_sheep",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=1.0368e+06 -tolerance=1e-09 -stepSize=2073.6 -noemit -s fmi3:cs",resimulateExecutable="../Pharmacolibrary_Pharmacolibrary_NonDrugs_T_toxic_hazardous_Plutonium239_Plutonium239_Watts1975_sheep.fmu") [Timeout 240] "" [Timeout remaining time 240] cd("..") [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 0.9417189471423626]