Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Hirano1994_reference.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 MB " [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.001451/0.001451, allocations: 165.9 kB / 23.21 MB, free: 1.332 MB / 18.57 MB " [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 1.004/1.004, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.7472/0.7472, allocations: 291.1 MB / 0.5382 GB, free: 51.89 MB / 410.7 MB " [Timeout remaining time 179] 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: translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Hirano1994_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Hirano1994_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Hirano1994_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Hirano1994_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.6973 GB, free: 10.43 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.824e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.43 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Hirano1994_reference): time 0.00201/0.002038, allocations: 1.825 MB / 0.6991 GB, free: 8.59 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007195/0.002757, allocations: 0.5458 MB / 0.6996 GB, free: 8.039 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.742e-05/0.002815, allocations: 0 / 0.6996 GB, free: 8.039 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.002919, allocations: 11.86 kB / 0.6997 GB, free: 8.027 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003364/0.003255, allocations: 67.48 kB / 0.6997 GB, free: 7.961 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.003395, allocations: 75.64 kB / 0.6998 GB, free: 7.891 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.003565, allocations: 171.2 kB / 0.7 GB, free: 7.723 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.916e-05/0.003614, allocations: 5.312 kB / 0.7 GB, free: 7.719 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.003728, allocations: 91.78 kB / 0.7 GB, free: 7.629 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.003939, allocations: 71.78 kB / 0.7001 GB, free: 7.559 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.003962, allocations: 8 kB / 0.7001 GB, free: 7.551 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.69e-05/0.003979, allocations: 12 kB / 0.7001 GB, free: 7.539 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.872e-05/0.004037, allocations: 31.89 kB / 0.7002 GB, free: 7.508 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.347e-05/0.004091, allocations: 39.91 kB / 0.7002 GB, free: 7.469 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.004224, allocations: 103.6 kB / 0.7003 GB, free: 7.367 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.004227, allocations: 0 / 0.7003 GB, free: 7.367 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.294e-06/0.004229, allocations: 0 / 0.7003 GB, free: 7.367 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.004234, allocations: 0 / 0.7003 GB, free: 7.367 MB / 410.8 MB 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.0005751/0.004809, allocations: 395.5 kB / 0.7007 GB, free: 6.945 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.004851, allocations: 8.031 kB / 0.7007 GB, free: 6.938 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.399e-05/0.004905, allocations: 16.84 kB / 0.7007 GB, free: 6.922 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.005051, allocations: 150.1 kB / 0.7008 GB, free: 6.75 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.00507, allocations: 12.36 kB / 0.7009 GB, free: 6.738 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.005095, allocations: 12.36 kB / 0.7009 GB, free: 6.727 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.005269, allocations: 94.19 kB / 0.701 GB, free: 6.629 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.005278, allocations: 3.938 kB / 0.701 GB, free: 6.625 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.00529, allocations: 0 / 0.701 GB, free: 6.625 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.005296, allocations: 4 kB / 0.701 GB, free: 6.621 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.005439, allocations: 83.91 kB / 0.701 GB, free: 6.539 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.005798, allocations: 288.3 kB / 0.7013 GB, free: 6.227 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.006025, allocations: 130.4 kB / 0.7014 GB, free: 6.09 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.06e-05/0.006106, allocations: 52.81 kB / 0.7015 GB, free: 6.035 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.006122, allocations: 0 / 0.7015 GB, free: 6.035 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.006305, allocations: 123.2 kB / 0.7016 GB, free: 5.902 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.006306, allocations: 0 / 0.7016 GB, free: 5.902 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003386/0.006645, allocations: 193.6 kB / 0.7018 GB, free: 5.707 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.006673, allocations: 55.62 kB / 0.7019 GB, free: 5.641 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.592e-05/0.006769, allocations: 161 kB / 0.702 GB, free: 5.477 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.006781, allocations: 29.64 kB / 0.702 GB, free: 5.441 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.00684, allocations: 108.1 kB / 0.7021 GB, free: 5.332 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.006863, allocations: 43.62 kB / 0.7022 GB, free: 5.289 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.263e-05/0.006906, allocations: 41.7 kB / 0.7022 GB, free: 5.242 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.502e-05/0.006941, allocations: 322.8 kB / 0.7025 GB, free: 4.918 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.007046, allocations: 81.66 kB / 0.7026 GB, free: 4.832 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.007161, allocations: 206 kB / 0.7028 GB, free: 4.594 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.007317, allocations: 144.4 kB / 0.7029 GB, free: 4.445 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.00732, allocations: 3.938 kB / 0.7029 GB, free: 4.441 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002235/0.007543, allocations: 244.8 kB / 0.7032 GB, free: 4.184 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.007568, allocations: 29.7 kB / 0.7032 GB, free: 4.148 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.007573, allocations: 0 / 0.7032 GB, free: 4.148 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.007587, allocations: 4 kB / 0.7032 GB, free: 4.145 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.007692, allocations: 31.91 kB / 0.7032 GB, free: 4.113 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.007698, allocations: 0 / 0.7032 GB, free: 4.113 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.344e-05/0.007782, allocations: 19.92 kB / 0.7033 GB, free: 4.094 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.007793, allocations: 4 kB / 0.7033 GB, free: 4.09 MB / 410.8 MB 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.043e-05/0.007853, allocations: 131 kB / 0.7034 GB, free: 3.953 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.007868, allocations: 15.89 kB / 0.7034 GB, free: 3.938 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.008112, allocations: 170.3 kB / 0.7036 GB, free: 3.77 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.008115, allocations: 4 kB / 0.7036 GB, free: 3.766 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.008119, allocations: 0 / 0.7036 GB, free: 3.766 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.008123, allocations: 0 / 0.7036 GB, free: 3.766 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.412e-05/0.008217, allocations: 149.2 kB / 0.7037 GB, free: 3.59 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.008219, allocations: 3.938 kB / 0.7037 GB, free: 3.586 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.261e-05/0.008312, allocations: 23.98 kB / 0.7037 GB, free: 3.562 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.008315, allocations: 8 kB / 0.7037 GB, free: 3.555 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.008327, allocations: 3.984 kB / 0.7037 GB, free: 3.551 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.008328, allocations: 0 / 0.7037 GB, free: 3.551 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.00833, allocations: 0 / 0.7037 GB, free: 3.551 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.008642, allocations: 252.3 kB / 0.704 GB, free: 3.289 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.008662, allocations: 23.86 kB / 0.704 GB, free: 3.266 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.008682, allocations: 0 / 0.704 GB, free: 3.266 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.023e-05/0.008742, allocations: 15.98 kB / 0.704 GB, free: 3.25 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.008799, allocations: 16.03 kB / 0.704 GB, free: 3.234 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.008809, allocations: 11.94 kB / 0.7041 GB, free: 3.223 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.77e-05/0.008857, allocations: 127 kB / 0.7042 GB, free: 3.098 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.41e-07/0.008857, allocations: 0 / 0.7042 GB, free: 3.098 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001392/0.008996, allocations: 28 kB / 0.7042 GB, free: 3.07 MB / 410.8 MB 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.000102/0.009098, allocations: 99.3 kB / 0.7043 GB, free: 2.961 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000252/0.00935, allocations: 219.4 kB / 0.7045 GB, free: 2.73 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.009351, allocations: 4 kB / 0.7045 GB, free: 2.727 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.685e-05/0.009438, allocations: 59.89 kB / 0.7046 GB, free: 2.668 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.009644, allocations: 52.69 kB / 0.7046 GB, free: 2.617 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005085/0.01015, allocations: 335.2 kB / 0.7049 GB, free: 2.258 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.368e-05/0.0102, allocations: 93.8 kB / 0.705 GB, free: 2.148 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.01025, allocations: 20.5 kB / 0.705 GB, free: 2.125 MB / 410.8 MB Notification: Performance of SimCode: time 5.21e-07/0.01025, allocations: 0 / 0.705 GB, free: 2.125 MB / 410.8 MB Notification: Performance of Templates: time 0.002565/0.01281, allocations: 2.05 MB / 0.707 GB, free: 96 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Hirano1994_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Hirano1994_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Hirano1994_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Hirano1994_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Hirano1994_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Hirano1994_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelSulfate.NickelSulfate_Hirano1994_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.652291990816593]