Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate.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.001573/0.001573, allocations: 92.52 kB / 19.94 MB, free: 4.598 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.00185/0.00185, allocations: 169.9 kB / 23.21 MB, free: 1.328 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 0.9655/0.9655, allocations: 177.1 MB / 203.5 MB, free: 5.766 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.6734/0.6734, allocations: 291.2 MB / 0.5382 GB, free: 51.79 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.StrontiumChromate.StrontiumChromate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.6974 GB, free: 10.35 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/2.949e-05, allocations: 5.375 kB / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate): time 0.002605/0.002634, allocations: 1.826 MB / 0.6992 GB, free: 8.5 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009301/0.003564, allocations: 0.5538 MB / 0.6997 GB, free: 7.941 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.449e-05/0.003629, allocations: 0 / 0.6997 GB, free: 7.941 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.645e-05/0.003725, allocations: 19.78 kB / 0.6997 GB, free: 7.922 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003904/0.004116, allocations: 71.53 kB / 0.6998 GB, free: 7.852 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.004301, allocations: 59.47 kB / 0.6998 GB, free: 7.797 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.004585, allocations: 171.3 kB / 0.7 GB, free: 7.629 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.421e-05/0.004659, allocations: 5.312 kB / 0.7 GB, free: 7.625 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.004905, allocations: 95.72 kB / 0.7001 GB, free: 7.531 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.0052, allocations: 79.77 kB / 0.7002 GB, free: 7.453 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.005234, allocations: 8 kB / 0.7002 GB, free: 7.445 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.03e-05/0.005265, allocations: 8 kB / 0.7002 GB, free: 7.438 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.535e-05/0.00534, allocations: 35.88 kB / 0.7002 GB, free: 7.402 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.839e-05/0.005408, allocations: 39.86 kB / 0.7003 GB, free: 7.363 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.005537, allocations: 103.7 kB / 0.7004 GB, free: 7.262 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.00554, allocations: 0 / 0.7004 GB, free: 7.262 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.993e-06/0.005542, allocations: 0 / 0.7004 GB, free: 7.262 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.005547, allocations: 0 / 0.7004 GB, free: 7.262 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.0005286/0.006075, allocations: 393.7 kB / 0.7007 GB, free: 6.844 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.006111, allocations: 15.88 kB / 0.7008 GB, free: 6.828 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.006153, allocations: 16.84 kB / 0.7008 GB, free: 6.812 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.006284, allocations: 152.9 kB / 0.7009 GB, free: 6.641 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.006297, allocations: 8.375 kB / 0.7009 GB, free: 6.633 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.006318, allocations: 4.375 kB / 0.7009 GB, free: 6.629 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.006469, allocations: 102.2 kB / 0.701 GB, free: 6.523 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.006475, allocations: 3.938 kB / 0.701 GB, free: 6.52 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.006486, allocations: 4 kB / 0.701 GB, free: 6.516 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.00649, allocations: 3.938 kB / 0.701 GB, free: 6.512 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.006628, allocations: 75.92 kB / 0.7011 GB, free: 6.438 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003093/0.006938, allocations: 284.4 kB / 0.7014 GB, free: 6.129 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.00714, allocations: 138.3 kB / 0.7015 GB, free: 5.984 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.816e-05/0.007219, allocations: 56.98 kB / 0.7016 GB, free: 5.926 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.007232, allocations: 4 kB / 0.7016 GB, free: 5.922 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.007387, allocations: 111.3 kB / 0.7017 GB, free: 5.801 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.007388, allocations: 0 / 0.7017 GB, free: 5.801 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003117/0.0077, allocations: 197.6 kB / 0.7019 GB, free: 5.602 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/0.007721, allocations: 55.41 kB / 0.7019 GB, free: 5.535 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.207e-05/0.007803, allocations: 157 kB / 0.7021 GB, free: 5.375 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.007814, allocations: 33.69 kB / 0.7021 GB, free: 5.336 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.00785, allocations: 104.1 kB / 0.7022 GB, free: 5.23 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.007871, allocations: 51.62 kB / 0.7023 GB, free: 5.18 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.007909, allocations: 33.7 kB / 0.7023 GB, free: 5.141 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.882e-05/0.007938, allocations: 322.8 kB / 0.7026 GB, free: 4.816 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.161e-05/0.008029, allocations: 81.66 kB / 0.7027 GB, free: 4.73 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.008137, allocations: 203 kB / 0.7029 GB, free: 4.496 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.008285, allocations: 144.5 kB / 0.703 GB, free: 4.348 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.008287, allocations: 11.94 kB / 0.703 GB, free: 4.336 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002047/0.008492, allocations: 235.2 kB / 0.7032 GB, free: 4.09 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.008512, allocations: 37.69 kB / 0.7033 GB, free: 4.047 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.008516, allocations: 0 / 0.7033 GB, free: 4.047 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.008527, allocations: 0 / 0.7033 GB, free: 4.047 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.38e-05/0.00862, allocations: 31.98 kB / 0.7033 GB, free: 4.016 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.008625, allocations: 4 kB / 0.7033 GB, free: 4.012 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.58e-05/0.008701, allocations: 19.86 kB / 0.7033 GB, free: 3.992 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.00871, allocations: 8 kB / 0.7033 GB, free: 3.984 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 5.15e-05/0.008761, allocations: 130.4 kB / 0.7035 GB, free: 3.848 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.008772, allocations: 11.91 kB / 0.7035 GB, free: 3.836 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.008977, allocations: 166.4 kB / 0.7036 GB, free: 3.672 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.008979, allocations: 0 / 0.7036 GB, free: 3.672 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.008983, allocations: 0 / 0.7036 GB, free: 3.672 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.008986, allocations: 0 / 0.7036 GB, free: 3.672 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.361e-05/0.00906, allocations: 153.1 kB / 0.7038 GB, free: 3.492 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.009061, allocations: 7.938 kB / 0.7038 GB, free: 3.484 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.488e-05/0.009136, allocations: 27.97 kB / 0.7038 GB, free: 3.457 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.009137, allocations: 0 / 0.7038 GB, free: 3.457 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.009146, allocations: 7.938 kB / 0.7038 GB, free: 3.449 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.009147, allocations: 3.938 kB / 0.7038 GB, free: 3.445 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.009148, allocations: 0 / 0.7038 GB, free: 3.445 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.009421, allocations: 252.6 kB / 0.7041 GB, free: 3.184 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.582e-05/0.009437, allocations: 19.91 kB / 0.7041 GB, free: 3.164 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.009455, allocations: 12 kB / 0.7041 GB, free: 3.152 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.181e-05/0.009507, allocations: 11.98 kB / 0.7041 GB, free: 3.141 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.009558, allocations: 15.97 kB / 0.7041 GB, free: 3.125 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.009566, allocations: 4 kB / 0.7041 GB, free: 3.121 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.264e-05/0.009609, allocations: 123.1 kB / 0.7042 GB, free: 3 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.009609, allocations: 0 / 0.7042 GB, free: 3 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001265/0.009735, allocations: 32 kB / 0.7043 GB, free: 2.969 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 8.121e-05/0.009816, allocations: 103.2 kB / 0.7044 GB, free: 2.855 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.01004, allocations: 213 kB / 0.7046 GB, free: 2.629 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01004, allocations: 0 / 0.7046 GB, free: 2.629 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.208e-05/0.01012, allocations: 59.89 kB / 0.7046 GB, free: 2.57 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.01029, allocations: 47.89 kB / 0.7047 GB, free: 2.523 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004143/0.01071, allocations: 343.1 kB / 0.705 GB, free: 2.156 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.771e-05/0.01075, allocations: 93.81 kB / 0.7051 GB, free: 2.047 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.01079, allocations: 20.48 kB / 0.7051 GB, free: 2.023 MB / 410.8 MB Notification: Performance of SimCode: time 4.71e-07/0.01079, allocations: 4 kB / 0.7051 GB, free: 2.02 MB / 410.8 MB Notification: Performance of Templates: time 0.002095/0.01289, allocations: 2.052 MB / 0.7071 GB, free: 15.98 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.StrontiumChromate.StrontiumChromate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.387809659354389]