Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride.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.001198/0.001198, allocations: 92.42 kB / 19.94 MB, free: 4.605 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.001264/0.001264, allocations: 169.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.9454/0.9454, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.6623/0.6623, 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.MercuricChloride.MercuricChloride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.342e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.37 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride): time 0.001742/0.001765, allocations: 1.833 MB / 0.6992 GB, free: 8.523 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006232/0.002388, allocations: 0.546 MB / 0.6997 GB, free: 7.973 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.929e-05/0.002438, allocations: 4 kB / 0.6997 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8e-05/0.002518, allocations: 11.86 kB / 0.6997 GB, free: 7.957 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.002801, allocations: 71.45 kB / 0.6998 GB, free: 7.887 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001152/0.002916, allocations: 78.89 kB / 0.6999 GB, free: 7.812 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.003056, allocations: 159.3 kB / 0.7 GB, free: 7.656 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.003094, allocations: 9.297 kB / 0.7 GB, free: 7.648 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.341e-05/0.003188, allocations: 91.78 kB / 0.7001 GB, free: 7.559 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.003362, allocations: 75.77 kB / 0.7002 GB, free: 7.484 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.003384, allocations: 8 kB / 0.7002 GB, free: 7.477 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.578e-05/0.0034, allocations: 8 kB / 0.7002 GB, free: 7.469 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.007e-05/0.00345, allocations: 31.89 kB / 0.7002 GB, free: 7.438 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.619e-05/0.003496, allocations: 47.84 kB / 0.7003 GB, free: 7.391 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.00361, allocations: 99.67 kB / 0.7004 GB, free: 7.293 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.003614, allocations: 4 kB / 0.7004 GB, free: 7.289 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.523e-06/0.003615, allocations: 0 / 0.7004 GB, free: 7.289 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.00362, allocations: 0 / 0.7004 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.0005206/0.00414, allocations: 387.5 kB / 0.7007 GB, free: 6.875 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.004174, allocations: 15.83 kB / 0.7007 GB, free: 6.859 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.004217, allocations: 20.84 kB / 0.7008 GB, free: 6.84 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.004348, allocations: 146.2 kB / 0.7009 GB, free: 6.672 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.004362, allocations: 4.375 kB / 0.7009 GB, free: 6.668 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.004388, allocations: 16.38 kB / 0.7009 GB, free: 6.652 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.004554, allocations: 94.17 kB / 0.701 GB, free: 6.555 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.004563, allocations: 3.938 kB / 0.701 GB, free: 6.551 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.004574, allocations: 4 kB / 0.701 GB, free: 6.547 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.004579, allocations: 4 kB / 0.701 GB, free: 6.543 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.004721, allocations: 79.86 kB / 0.7011 GB, free: 6.465 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.005054, allocations: 284.4 kB / 0.7014 GB, free: 6.156 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.005267, allocations: 138.4 kB / 0.7015 GB, free: 6.012 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.609e-05/0.005343, allocations: 48.81 kB / 0.7016 GB, free: 5.961 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.005357, allocations: 4 kB / 0.7016 GB, free: 5.957 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.005526, allocations: 119.2 kB / 0.7017 GB, free: 5.828 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.005527, allocations: 224 / 0.7017 GB, free: 5.828 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003176/0.005845, allocations: 201.4 kB / 0.7019 GB, free: 5.629 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.005868, allocations: 59.34 kB / 0.7019 GB, free: 5.559 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.593e-05/0.005954, allocations: 155.6 kB / 0.7021 GB, free: 5.398 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.005966, allocations: 29.7 kB / 0.7021 GB, free: 5.363 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.006001, allocations: 104.1 kB / 0.7022 GB, free: 5.258 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.006022, allocations: 47.62 kB / 0.7022 GB, free: 5.211 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.006062, allocations: 37.7 kB / 0.7023 GB, free: 5.168 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.817e-05/0.00609, allocations: 322.8 kB / 0.7026 GB, free: 4.844 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.612e-05/0.006186, allocations: 85.59 kB / 0.7027 GB, free: 4.754 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.006292, allocations: 202.1 kB / 0.7029 GB, free: 4.52 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.006447, allocations: 140.4 kB / 0.703 GB, free: 4.375 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.006449, 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.0002175/0.006667, allocations: 244.8 kB / 0.7032 GB, free: 4.113 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.006691, allocations: 32.2 kB / 0.7033 GB, free: 4.078 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.006696, allocations: 4 kB / 0.7033 GB, free: 4.074 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.006708, allocations: 4 kB / 0.7033 GB, free: 4.07 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.898e-05/0.006807, allocations: 31.92 kB / 0.7033 GB, free: 4.039 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.006813, allocations: 3.984 kB / 0.7033 GB, free: 4.035 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.63e-05/0.006889, allocations: 19.92 kB / 0.7033 GB, free: 4.016 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.006899, allocations: 4 kB / 0.7033 GB, free: 4.012 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.572e-05/0.006954, allocations: 121.8 kB / 0.7034 GB, free: 3.883 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.006966, allocations: 11.91 kB / 0.7035 GB, free: 3.871 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.007188, allocations: 174.3 kB / 0.7036 GB, free: 3.699 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.007191, allocations: 8 kB / 0.7036 GB, free: 3.691 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.007194, allocations: 0 / 0.7036 GB, free: 3.691 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.007198, allocations: 3.984 kB / 0.7036 GB, free: 3.688 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.281e-05/0.007281, allocations: 145.2 kB / 0.7038 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.007282, allocations: 3.938 kB / 0.7038 GB, free: 3.512 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.226e-05/0.007364, allocations: 19.98 kB / 0.7038 GB, free: 3.492 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.007367, allocations: 4 kB / 0.7038 GB, free: 3.488 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.007382, allocations: 4 kB / 0.7038 GB, free: 3.484 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.007384, allocations: 3.984 kB / 0.7038 GB, free: 3.48 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.007385, allocations: 0 / 0.7038 GB, free: 3.48 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.007676, allocations: 248.9 kB / 0.704 GB, free: 3.219 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.883e-05/0.007695, allocations: 19.88 kB / 0.7041 GB, free: 3.199 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.007715, allocations: 7.984 kB / 0.7041 GB, free: 3.191 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.4e-05/0.007769, allocations: 12.03 kB / 0.7041 GB, free: 3.18 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.007819, allocations: 23.84 kB / 0.7041 GB, free: 3.156 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.007827, allocations: 7.984 kB / 0.7041 GB, free: 3.148 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.288e-05/0.00787, allocations: 125.8 kB / 0.7042 GB, free: 3.027 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.5e-07/0.00787, allocations: 64 / 0.7042 GB, free: 3.027 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001329/0.008003, allocations: 36 kB / 0.7043 GB, free: 2.992 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.448e-05/0.008087, allocations: 99.25 kB / 0.7044 GB, free: 2.883 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002269/0.008314, allocations: 212.9 kB / 0.7046 GB, free: 2.656 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.008316, allocations: 4 kB / 0.7046 GB, free: 2.652 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.665e-05/0.008402, allocations: 59.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.0001907/0.008593, 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.0004557/0.009049, allocations: 335.2 kB / 0.705 GB, free: 2.188 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.144e-05/0.00909, allocations: 101.8 kB / 0.7051 GB, free: 2.07 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.009133, allocations: 16.5 kB / 0.7051 GB, free: 2.051 MB / 410.8 MB Notification: Performance of SimCode: time 6.11e-07/0.009134, allocations: 0 / 0.7051 GB, free: 2.051 MB / 410.8 MB Notification: Performance of Templates: time 0.002262/0.0114, allocations: 2.051 MB / 0.7071 GB, free: 12 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.368225592188537]