Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead.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.0008781/0.0008781, allocations: 92.5 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.0009024/0.0009024, allocations: 169.8 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.9371/0.9371, allocations: 177.2 MB / 203.5 MB, free: 5.77 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.7387/0.7387, 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.TetraethylLead.TetraethylLead,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.377e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead): time 0.001791/0.001814, allocations: 1.834 MB / 0.6992 GB, free: 8.523 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006745/0.002489, allocations: 0.5499 MB / 0.6997 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.811e-05/0.002547, allocations: 0 / 0.6997 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.933e-05/0.002646, allocations: 15.84 kB / 0.6997 GB, free: 7.953 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003262/0.002972, allocations: 63.48 kB / 0.6998 GB, free: 7.891 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001164/0.003089, allocations: 67.84 kB / 0.6998 GB, free: 7.824 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.003251, allocations: 167.2 kB / 0.7 GB, free: 7.66 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.51e-05/0.003296, allocations: 9.25 kB / 0.7 GB, free: 7.652 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.003401, allocations: 91.78 kB / 0.7001 GB, free: 7.562 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.003602, allocations: 75.77 kB / 0.7002 GB, free: 7.488 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.003627, allocations: 8 kB / 0.7002 GB, free: 7.48 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.821e-05/0.003645, allocations: 8 kB / 0.7002 GB, free: 7.473 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.39e-05/0.003699, allocations: 31.89 kB / 0.7002 GB, free: 7.441 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.036e-05/0.003749, allocations: 47.84 kB / 0.7003 GB, free: 7.395 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.003875, allocations: 99.69 kB / 0.7003 GB, free: 7.297 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.003877, allocations: 0 / 0.7003 GB, free: 7.297 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.51e-07/0.003878, allocations: 0 / 0.7003 GB, free: 7.297 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.003882, allocations: 0 / 0.7003 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.0005405/0.004423, allocations: 391.5 kB / 0.7007 GB, free: 6.879 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.004459, allocations: 8.031 kB / 0.7007 GB, free: 6.871 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/0.004503, allocations: 16.84 kB / 0.7007 GB, free: 6.855 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.004634, allocations: 162.1 kB / 0.7009 GB, free: 6.672 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.004646, allocations: 4.375 kB / 0.7009 GB, free: 6.668 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.00467, allocations: 12.38 kB / 0.7009 GB, free: 6.656 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.004833, allocations: 94.17 kB / 0.701 GB, free: 6.559 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.004841, allocations: 3.938 kB / 0.701 GB, free: 6.555 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.004853, allocations: 4 kB / 0.701 GB, free: 6.551 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.004858, allocations: 4 kB / 0.701 GB, free: 6.547 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.005003, allocations: 75.92 kB / 0.7011 GB, free: 6.473 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004142/0.009145, allocations: 284.3 kB / 0.7014 GB, free: 6.164 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/0.009524, allocations: 142.4 kB / 0.7015 GB, free: 6.016 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.00964, allocations: 44.83 kB / 0.7015 GB, free: 5.969 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.009662, allocations: 7.984 kB / 0.7015 GB, free: 5.961 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002661/0.009928, allocations: 115.5 kB / 0.7017 GB, free: 5.836 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 3.526e-06/0.009932, allocations: 0 / 0.7017 GB, free: 5.836 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005073/0.01044, allocations: 205.3 kB / 0.7019 GB, free: 5.633 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.01048, allocations: 59.39 kB / 0.7019 GB, free: 5.562 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.01061, allocations: 155.6 kB / 0.7021 GB, free: 5.402 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.01063, allocations: 29.7 kB / 0.7021 GB, free: 5.367 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.571e-05/0.0107, allocations: 100.1 kB / 0.7022 GB, free: 5.266 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.01073, allocations: 43.64 kB / 0.7022 GB, free: 5.223 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-05/0.0108, allocations: 37.7 kB / 0.7023 GB, free: 5.18 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.953e-05/0.01085, allocations: 322.8 kB / 0.7026 GB, free: 4.855 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.011, allocations: 89.64 kB / 0.7027 GB, free: 4.762 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.01118, allocations: 198.1 kB / 0.7028 GB, free: 4.531 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.01141, allocations: 144.9 kB / 0.703 GB, free: 4.383 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.01141, 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.0003653/0.01178, allocations: 236.8 kB / 0.7032 GB, free: 4.129 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.244e-05/0.01182, allocations: 37.69 kB / 0.7032 GB, free: 4.086 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.01183, allocations: 8 kB / 0.7033 GB, free: 4.078 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.01185, allocations: 4 kB / 0.7033 GB, free: 4.074 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.012, allocations: 27.92 kB / 0.7033 GB, free: 4.047 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.01201, allocations: 0 / 0.7033 GB, free: 4.047 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.01214, allocations: 19.92 kB / 0.7033 GB, free: 4.027 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.01216, allocations: 4 kB / 0.7033 GB, free: 4.023 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 9.408e-05/0.01225, allocations: 126.4 kB / 0.7034 GB, free: 3.891 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.01228, allocations: 11.91 kB / 0.7034 GB, free: 3.879 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003735/0.01265, allocations: 178.3 kB / 0.7036 GB, free: 3.703 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.01266, allocations: 8.031 kB / 0.7036 GB, free: 3.695 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.01266, allocations: 0 / 0.7036 GB, free: 3.695 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.01267, allocations: 0 / 0.7036 GB, free: 3.695 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.01281, allocations: 149.2 kB / 0.7038 GB, free: 3.52 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.01282, allocations: 7.922 kB / 0.7038 GB, free: 3.512 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.01295, allocations: 19.98 kB / 0.7038 GB, free: 3.492 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.01295, allocations: 4 kB / 0.7038 GB, free: 3.488 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.01297, allocations: 4 kB / 0.7038 GB, free: 3.484 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01297, allocations: 4 kB / 0.7038 GB, free: 3.48 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.01297, allocations: 0 / 0.7038 GB, free: 3.48 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004514/0.01342, allocations: 252.9 kB / 0.704 GB, free: 3.215 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/0.01346, allocations: 15.84 kB / 0.7041 GB, free: 3.199 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.01348, allocations: 4 kB / 0.7041 GB, free: 3.195 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.586e-05/0.01358, allocations: 15.92 kB / 0.7041 GB, free: 3.18 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.508e-05/0.01365, allocations: 19.91 kB / 0.7041 GB, free: 3.16 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.01367, allocations: 4 kB / 0.7041 GB, free: 3.156 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.223e-05/0.01374, allocations: 129.8 kB / 0.7042 GB, free: 3.031 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.01374, allocations: 0 / 0.7042 GB, free: 3.031 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002293/0.01397, allocations: 32 kB / 0.7042 GB, free: 3 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.0001428/0.01411, allocations: 103.2 kB / 0.7043 GB, free: 2.887 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003733/0.01449, allocations: 209 kB / 0.7045 GB, free: 2.664 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.01449, allocations: 4 kB / 0.7045 GB, free: 2.66 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.01462, allocations: 63.89 kB / 0.7046 GB, free: 2.598 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.01493, allocations: 43.89 kB / 0.7047 GB, free: 2.555 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007604/0.0157, allocations: 341.8 kB / 0.705 GB, free: 2.195 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.491e-05/0.01576, allocations: 93.81 kB / 0.7051 GB, free: 2.086 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.492e-05/0.01583, allocations: 24.48 kB / 0.7051 GB, free: 2.059 MB / 410.8 MB Notification: Performance of SimCode: time 7.02e-07/0.01583, allocations: 0 / 0.7051 GB, free: 2.059 MB / 410.8 MB Notification: Performance of Templates: time 0.003694/0.01952, allocations: 2.049 MB / 0.7071 GB, free: 20 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.428115541115403]