Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead.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.0009383/0.0009383, 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.0008529/0.0008529, 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.9132/0.9132, 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.7846/0.7846, allocations: 291.1 MB / 0.5382 GB, free: 51.9 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.EthyltrimethylLead.EthyltrimethylLead,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.633e-05, allocations: 6.219 kB / 0.6974 GB, free: 10.37 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead): time 0.001997/0.002023, allocations: 1.833 MB / 0.6992 GB, free: 8.52 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007354/0.002759, allocations: 0.5499 MB / 0.6997 GB, free: 7.965 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.955e-05/0.002818, allocations: 4 kB / 0.6997 GB, free: 7.961 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.211e-05/0.002911, allocations: 11.86 kB / 0.6997 GB, free: 7.949 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003497/0.00326, allocations: 67.48 kB / 0.6998 GB, free: 7.883 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.003398, allocations: 63.77 kB / 0.6998 GB, free: 7.82 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.003562, allocations: 175.3 kB / 0.7 GB, free: 7.648 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.323e-05/0.003605, allocations: 9.297 kB / 0.7 GB, free: 7.641 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.003711, allocations: 87.78 kB / 0.7001 GB, free: 7.555 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.003914, allocations: 75.78 kB / 0.7002 GB, free: 7.48 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.003937, allocations: 8 kB / 0.7002 GB, free: 7.473 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.699e-05/0.003954, allocations: 8 kB / 0.7002 GB, free: 7.465 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.004008, allocations: 31.89 kB / 0.7002 GB, free: 7.434 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.85e-05/0.004057, allocations: 47.83 kB / 0.7003 GB, free: 7.387 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.004186, allocations: 95.69 kB / 0.7003 GB, free: 7.293 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.004188, allocations: 0 / 0.7003 GB, free: 7.293 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.623e-06/0.00419, allocations: 4 kB / 0.7003 GB, free: 7.289 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.004194, allocations: 0 / 0.7003 GB, free: 7.289 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.0005307/0.004725, allocations: 391.5 kB / 0.7007 GB, free: 6.871 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.004762, allocations: 8.031 kB / 0.7007 GB, free: 6.863 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.004806, allocations: 16.84 kB / 0.7007 GB, free: 6.848 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.004952, allocations: 150.1 kB / 0.7009 GB, free: 6.676 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.004969, allocations: 4.375 kB / 0.7009 GB, free: 6.672 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.004993, allocations: 12.38 kB / 0.7009 GB, free: 6.66 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.005165, allocations: 106.2 kB / 0.701 GB, free: 6.551 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.005172, allocations: 3.938 kB / 0.701 GB, free: 6.547 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.005184, allocations: 0 / 0.701 GB, free: 6.547 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.005189, allocations: 0 / 0.701 GB, free: 6.547 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.005328, allocations: 83.84 kB / 0.7011 GB, free: 6.465 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.005673, allocations: 280.4 kB / 0.7014 GB, free: 6.16 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.005888, allocations: 134.4 kB / 0.7015 GB, free: 6.02 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.884e-05/0.005967, allocations: 56.81 kB / 0.7015 GB, free: 5.961 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.005981, allocations: 0 / 0.7015 GB, free: 5.961 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.006155, allocations: 118.1 kB / 0.7016 GB, free: 5.836 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.006157, allocations: 0 / 0.7016 GB, free: 5.836 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003412/0.006498, allocations: 197.9 kB / 0.7018 GB, free: 5.637 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.006522, allocations: 59.41 kB / 0.7019 GB, free: 5.566 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.781e-05/0.00661, allocations: 156.9 kB / 0.702 GB, free: 5.406 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.006623, allocations: 37.64 kB / 0.7021 GB, free: 5.363 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.863e-05/0.006661, allocations: 104.1 kB / 0.7022 GB, free: 5.258 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.006682, allocations: 43.64 kB / 0.7022 GB, free: 5.215 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.006721, allocations: 37.7 kB / 0.7023 GB, free: 5.172 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.06e-05/0.006751, allocations: 322.8 kB / 0.7026 GB, free: 4.848 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.268e-05/0.006844, allocations: 81.66 kB / 0.7026 GB, free: 4.762 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.006952, allocations: 202 kB / 0.7028 GB, free: 4.527 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.00711, allocations: 149 kB / 0.703 GB, free: 4.375 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.007113, allocations: 3.938 kB / 0.703 GB, free: 4.371 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002252/0.007338, allocations: 240.8 kB / 0.7032 GB, free: 4.117 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.007362, allocations: 33.7 kB / 0.7032 GB, free: 4.078 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.007366, allocations: 0 / 0.7032 GB, free: 4.078 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.00738, allocations: 0 / 0.7032 GB, free: 4.078 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.908e-05/0.007479, allocations: 31.91 kB / 0.7033 GB, free: 4.047 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.007484, allocations: 8 kB / 0.7033 GB, free: 4.039 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.903e-05/0.007563, allocations: 19.92 kB / 0.7033 GB, free: 4.02 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.007572, allocations: 4 kB / 0.7033 GB, free: 4.016 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.809e-05/0.007631, allocations: 126.3 kB / 0.7034 GB, free: 3.883 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.007642, allocations: 11.91 kB / 0.7034 GB, free: 3.871 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.007856, allocations: 170.3 kB / 0.7036 GB, free: 3.703 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.007858, allocations: 0 / 0.7036 GB, free: 3.703 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.007862, allocations: 4.047 kB / 0.7036 GB, free: 3.699 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.007866, allocations: 7.969 kB / 0.7036 GB, free: 3.691 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.2e-05/0.007948, allocations: 149.2 kB / 0.7038 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.00795, allocations: 7.938 kB / 0.7038 GB, free: 3.508 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.593e-05/0.008036, allocations: 23.98 kB / 0.7038 GB, free: 3.484 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.008039, allocations: 0 / 0.7038 GB, free: 3.484 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.008049, allocations: 7.984 kB / 0.7038 GB, free: 3.477 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.008051, allocations: 0 / 0.7038 GB, free: 3.477 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.008052, allocations: 0 / 0.7038 GB, free: 3.477 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.008343, allocations: 256.6 kB / 0.704 GB, free: 3.211 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.719e-05/0.008361, allocations: 15.88 kB / 0.7041 GB, free: 3.195 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.008379, allocations: 7.984 kB / 0.7041 GB, free: 3.188 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.376e-05/0.008433, allocations: 11.98 kB / 0.7041 GB, free: 3.176 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.008482, allocations: 11.98 kB / 0.7041 GB, free: 3.164 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.046e-06/0.00849, allocations: 7.922 kB / 0.7041 GB, free: 3.156 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.374e-05/0.008534, allocations: 123.1 kB / 0.7042 GB, free: 3.035 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.008534, allocations: 0 / 0.7042 GB, free: 3.035 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001356/0.00867, allocations: 32 kB / 0.7042 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 8.608e-05/0.008756, allocations: 107.3 kB / 0.7043 GB, free: 2.887 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.009006, allocations: 219.2 kB / 0.7045 GB, free: 2.656 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.009008, allocations: 0 / 0.7045 GB, free: 2.656 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.493e-05/0.009093, allocations: 63.89 kB / 0.7046 GB, free: 2.594 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.009292, allocations: 47.89 kB / 0.7047 GB, free: 2.547 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005081/0.0098, allocations: 331.2 kB / 0.705 GB, free: 2.191 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.713e-05/0.009848, allocations: 101.8 kB / 0.7051 GB, free: 2.074 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/0.009893, allocations: 16.5 kB / 0.7051 GB, free: 2.055 MB / 410.8 MB Notification: Performance of SimCode: time 1.222e-06/0.009894, allocations: 0 / 0.7051 GB, free: 2.055 MB / 410.8 MB Notification: Performance of Templates: time 0.002322/0.01222, 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.EthyltrimethylLead.EthyltrimethylLead.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.EthyltrimethylLead.EthyltrimethylLead.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.415345465764403]