Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.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.001355/0.001355, 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.001763/0.001763, 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 0.9636/0.9636, allocations: 177.1 MB / 203.5 MB, free: 5.777 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.7178/0.7178, allocations: 291.2 MB / 0.5382 GB, free: 51.76 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.SodiumArsenite.SodiumArsenite,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.6974 GB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.939e-05, allocations: 9.031 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite): time 0.0018/0.001819, allocations: 1.842 MB / 0.6992 GB, free: 8.52 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006683/0.002488, allocations: 0.5421 MB / 0.6997 GB, free: 7.973 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.378e-05/0.002541, allocations: 0 / 0.6997 GB, free: 7.973 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.008e-05/0.002631, allocations: 19.84 kB / 0.6997 GB, free: 7.953 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.002933, allocations: 67.47 kB / 0.6998 GB, free: 7.887 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000118/0.003051, allocations: 70.78 kB / 0.6999 GB, free: 7.82 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.003215, allocations: 167.3 kB / 0.7 GB, free: 7.656 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.003254, allocations: 5.312 kB / 0.7 GB, free: 7.652 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.003354, allocations: 87.78 kB / 0.7001 GB, free: 7.566 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.003539, allocations: 87.75 kB / 0.7002 GB, free: 7.48 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.00356, allocations: 4 kB / 0.7002 GB, free: 7.477 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.708e-05/0.003577, allocations: 8 kB / 0.7002 GB, free: 7.469 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.15e-05/0.003629, allocations: 31.91 kB / 0.7002 GB, free: 7.438 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.003675, allocations: 43.84 kB / 0.7003 GB, free: 7.395 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.003789, allocations: 99.67 kB / 0.7004 GB, free: 7.297 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.003791, allocations: 0 / 0.7004 GB, free: 7.297 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.022e-06/0.003792, allocations: 0 / 0.7004 GB, free: 7.297 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.003796, allocations: 0 / 0.7004 GB, free: 7.297 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.0005108/0.004307, allocations: 395.5 kB / 0.7008 GB, free: 6.875 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.004339, allocations: 12.03 kB / 0.7008 GB, free: 6.863 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.004379, allocations: 16.84 kB / 0.7008 GB, free: 6.848 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.004508, allocations: 146.1 kB / 0.7009 GB, free: 6.68 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.004519, allocations: 4.375 kB / 0.7009 GB, free: 6.676 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.004541, allocations: 12.38 kB / 0.7009 GB, free: 6.664 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.004696, allocations: 98.17 kB / 0.701 GB, free: 6.562 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.004704, allocations: 3.938 kB / 0.701 GB, free: 6.559 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.004716, allocations: 4 kB / 0.701 GB, free: 6.555 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.00472, allocations: 4 kB / 0.701 GB, free: 6.551 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.00486, allocations: 83.86 kB / 0.7011 GB, free: 6.469 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.005179, allocations: 284.4 kB / 0.7014 GB, free: 6.16 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.005392, allocations: 134.4 kB / 0.7015 GB, free: 6.02 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.558e-05/0.005467, allocations: 44.83 kB / 0.7016 GB, free: 5.973 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.005482, allocations: 11.98 kB / 0.7016 GB, free: 5.961 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.005639, allocations: 115.2 kB / 0.7017 GB, free: 5.836 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.00564, allocations: 4.219 kB / 0.7017 GB, free: 5.832 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003099/0.00595, allocations: 196.9 kB / 0.7019 GB, free: 5.637 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.00597, allocations: 59.33 kB / 0.7019 GB, free: 5.566 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.053e-05/0.006051, allocations: 155.6 kB / 0.7021 GB, free: 5.406 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.006065, allocations: 33.7 kB / 0.7021 GB, free: 5.367 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/0.006107, allocations: 100.1 kB / 0.7022 GB, free: 5.266 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.006127, allocations: 39.64 kB / 0.7023 GB, free: 5.227 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.006167, allocations: 41.7 kB / 0.7023 GB, free: 5.18 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.273e-05/0.0062, allocations: 326.8 kB / 0.7026 GB, free: 4.852 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.612e-05/0.006296, allocations: 81.64 kB / 0.7027 GB, free: 4.766 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.006409, allocations: 208.7 kB / 0.7029 GB, free: 4.527 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.006561, allocations: 138.5 kB / 0.703 GB, free: 4.383 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.006564, allocations: 3.938 kB / 0.703 GB, free: 4.379 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002146/0.006779, allocations: 243.2 kB / 0.7032 GB, free: 4.125 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.006799, allocations: 37.69 kB / 0.7033 GB, free: 4.082 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.006804, allocations: 4 kB / 0.7033 GB, free: 4.078 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.006814, allocations: 0 / 0.7033 GB, free: 4.078 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.177e-05/0.006906, allocations: 27.92 kB / 0.7033 GB, free: 4.051 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.00691, allocations: 0 / 0.7033 GB, free: 4.051 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.512e-05/0.006985, allocations: 19.92 kB / 0.7033 GB, free: 4.031 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.006994, allocations: 4 kB / 0.7033 GB, free: 4.027 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.938e-05/0.007054, allocations: 131 kB / 0.7035 GB, free: 3.891 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.007066, allocations: 19.91 kB / 0.7035 GB, free: 3.871 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.007281, allocations: 170.3 kB / 0.7036 GB, free: 3.703 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.007284, allocations: 4 kB / 0.7036 GB, free: 3.699 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.007287, allocations: 0 / 0.7036 GB, free: 3.699 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.00729, allocations: 0 / 0.7036 GB, free: 3.699 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.729e-05/0.007367, allocations: 153.2 kB / 0.7038 GB, free: 3.52 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.007369, allocations: 3.938 kB / 0.7038 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.121e-05/0.00745, allocations: 27.98 kB / 0.7038 GB, free: 3.488 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.007451, allocations: 0 / 0.7038 GB, free: 3.488 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.007461, allocations: 4 kB / 0.7038 GB, free: 3.484 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.007462, allocations: 0 / 0.7038 GB, free: 3.484 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.007462, allocations: 4 kB / 0.7038 GB, free: 3.48 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.00774, allocations: 248.9 kB / 0.7041 GB, free: 3.219 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.555e-05/0.007756, allocations: 19.88 kB / 0.7041 GB, free: 3.199 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.007772, allocations: 0 / 0.7041 GB, free: 3.199 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.486e-05/0.007827, allocations: 15.98 kB / 0.7041 GB, free: 3.184 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.007875, allocations: 19.84 kB / 0.7041 GB, free: 3.164 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.007882, allocations: 8.062 kB / 0.7041 GB, free: 3.156 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.344e-05/0.007925, allocations: 125.3 kB / 0.7043 GB, free: 3.035 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.007925, allocations: 0 / 0.7043 GB, free: 3.035 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001325/0.008058, allocations: 32 kB / 0.7043 GB, free: 3.004 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 6.419e-05/0.008122, allocations: 103.2 kB / 0.7044 GB, free: 2.891 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.008346, allocations: 213 kB / 0.7046 GB, free: 2.664 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.008347, allocations: 0 / 0.7046 GB, free: 2.664 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.302e-05/0.00843, allocations: 63.89 kB / 0.7046 GB, free: 2.602 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.008604, allocations: 43.89 kB / 0.7047 GB, free: 2.559 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004424/0.009046, allocations: 347.1 kB / 0.705 GB, free: 2.188 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.89e-05/0.009085, allocations: 89.81 kB / 0.7051 GB, free: 2.082 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/0.009132, allocations: 20.48 kB / 0.7051 GB, free: 2.059 MB / 410.8 MB Notification: Performance of SimCode: time 6.41e-07/0.009132, allocations: 0 / 0.7051 GB, free: 2.059 MB / 410.8 MB Notification: Performance of Templates: time 0.002245/0.01138, allocations: 2.057 MB / 0.7071 GB, free: 20 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.305945604108274]