Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference.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.0003261/0.0003261, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0006985/0.001025, 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.0002755/0.0002755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0005194/0.0007949, 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.1085/0.1085, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.03572/0.1443, 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.3391/0.3391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.01638/0.3555, 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.SodiumSelenite.SodiumSelenite_Patterson1992_reference,fileNamePrefix="Pharmacolibrary_Pharmacolibrary_NonDrugs_T_toxic_hazardous_SodiumSelenite_SodiumSelenite_Patterson1992_reference",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference,fileNamePrefix="Pharmacolibrary_Pharmacolibrary_NonDrugs_T_toxic_hazardous_SodiumSelenite_SodiumSelenite_Patterson1992_reference",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.81e-07/4.81e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 9.929e-06/1.041e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference): time 0.002467/0.002477, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001012/0.003489, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 4.196e-05/0.003531, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 4.56e-05/0.003577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.003808, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.003946, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0001766/0.004122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 2.733e-05/0.00415, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.004337, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.004507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 2.905e-05/0.004536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 2.711e-05/0.004563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 5.131e-05/0.004614, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 5.202e-05/0.004666, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.004776, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 2.618e-05/0.004802, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.663e-06/0.004804, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.224e-05/0.004816, 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.000889/0.005705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/0.005766, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.432e-05/0.00584, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 6.934e-05/0.00591, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.006095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.185e-05/0.006137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.006178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.006381, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.00639, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.006407, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.986e-06/0.00641, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 8.535e-05/0.006495, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.006874, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.007036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 3.529e-05/0.007072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.007082, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001309/0.007213, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=13): time 3.026e-06/0.007216, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=13): time 0.0001901/0.007406, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.007432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.91e-05/0.007511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.007547, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.007582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.007621, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 7.583e-05/0.007697, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.871e-05/0.007716, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 4.912e-05/0.007765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 6.359e-05/0.007828, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 9.338e-05/0.007922, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.007924, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001542/0.008078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.008105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.008108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.008121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.008262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.008269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.008371, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.008393, 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 7.819e-05/0.008471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.008493, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.008675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.008679, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.008684, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.008688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.008819, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.008822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.008932, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/0.008966, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.00897, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.008995, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.008998, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.009193, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.419e-05/0.009267, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.229e-05/0.009349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.009405, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.00942, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 4.033e-05/0.00946, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 3.376e-06/0.009464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.000349/0.009813, 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.0001887/0.01, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0001893/0.01019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.0102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 5.931e-05/0.01026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.01049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/0.01363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 4.141e-05/0.01367, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 6.569e-05/0.01374, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.01394, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.313e-05/0.01397, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.00109/0.01506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.001551/0.01661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.04065/0.05726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 1.062e-05/0.05727, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 1.429e-05/0.05728, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0 MB unzipped): time 0.0002004/0.05748, allocations: 0 / 0, free: 0 / 0 Notification: FMU-only work: backend 7.641e-05, simCode 0.0008164, templates 0.0006831 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.SodiumSelenite.SodiumSelenite_Patterson1992_reference,startTime=0,stopTime=1.5552e+07,tolerance=1e-09,numberOfIntervals=500,outputFormat="empty",variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=1.5552e+07 -tolerance=1e-09 -stepSize=31104 -noemit -s fmi3:me",resimulateExecutable="../Pharmacolibrary_Pharmacolibrary_NonDrugs_T_toxic_hazardous_SodiumSelenite_SodiumSelenite_Patterson1992_reference.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.SodiumSelenite.SodiumSelenite_Patterson1992_reference,startTime=0,stopTime=1.5552e+07,tolerance=1e-09,numberOfIntervals=500,outputFormat="empty",variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumSelenite.SodiumSelenite_Patterson1992_reference",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=1.5552e+07 -tolerance=1e-09 -stepSize=31104 -noemit -s fmi3:cs",resimulateExecutable="../Pharmacolibrary_Pharmacolibrary_NonDrugs_T_toxic_hazardous_SodiumSelenite_SodiumSelenite_Patterson1992_reference.fmu") [Timeout 240] "" [Timeout remaining time 240] cd("..") [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 0.9531953549012542]