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.00065/0.00065, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008863/0.001536, allocations: 443.8 kB / 10.3 MB, free: 400 kB / 10.45 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.00069/0.00069, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008681/0.001558, allocations: 463.6 kB / 11.64 MB, free: 2.527 MB / 13.93 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.9033/0.9033, allocations: 177.2 MB / 189.5 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07948/0.9828, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.7137/0.7137, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04732/0.761, allocations: 21.05 MB / 0.5431 GB, free: 31.97 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 9.72e-07/9.72e-07, allocations: 0 / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.43e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.MercuricChloride.MercuricChloride): time 0.0021/0.002114, allocations: 1.963 MB / 0.5464 GB, free: 28.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007779/0.002892, allocations: 0.5769 MB / 0.5469 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.002938, allocations: 0 / 0.5469 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.066e-05/0.002979, allocations: 15.86 kB / 0.547 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.003176, allocations: 63.55 kB / 0.547 GB, free: 27.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001347/0.003311, allocations: 67.77 kB / 0.5471 GB, free: 27.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003191/0.006502, allocations: 160 kB / 0.5472 GB, free: 27.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.369e-05/0.006536, allocations: 21.88 kB / 0.5473 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.006677, allocations: 111.8 kB / 0.5474 GB, free: 27.6 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.006838, allocations: 67.84 kB / 0.5474 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.006859, allocations: 8 kB / 0.5474 GB, free: 27.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.12e-05/0.00688, allocations: 8 kB / 0.5474 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.065e-05/0.006921, allocations: 23.92 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.006965, allocations: 39.81 kB / 0.5475 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.007075, allocations: 75.75 kB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.496e-05/0.00709, allocations: 3.984 kB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.007091, allocations: 0 / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.007104, allocations: 0 / 0.5476 GB, free: 27.38 MB / 410.7 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.0005238/0.007628, allocations: 380.2 kB / 0.5479 GB, free: 26.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.595e-05/0.007654, allocations: 8.031 kB / 0.548 GB, free: 26.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.007693, allocations: 12.92 kB / 0.548 GB, free: 26.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.007825, allocations: 157.1 kB / 0.5481 GB, free: 26.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.007843, allocations: 12.38 kB / 0.5481 GB, free: 26.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.007863, allocations: 8.375 kB / 0.5481 GB, free: 26.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.007995, allocations: 81.02 kB / 0.5482 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.008003, allocations: 3.938 kB / 0.5482 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.008012, allocations: 0 / 0.5482 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.008018, allocations: 4 kB / 0.5482 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.966e-05/0.008068, allocations: 15.98 kB / 0.5482 GB, free: 26.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.008328, allocations: 209.8 kB / 0.5484 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.008447, allocations: 122.9 kB / 0.5486 GB, free: 26.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.139e-05/0.008478, allocations: 16.84 kB / 0.5486 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.008492, allocations: 4 kB / 0.5486 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001128/0.008605, allocations: 90.22 kB / 0.5487 GB, free: 26.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.008606, allocations: 4 kB / 0.5487 GB, free: 26.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001515/0.008757, allocations: 89.81 kB / 0.5487 GB, free: 26.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.9e-05/0.008776, allocations: 51.41 kB / 0.5488 GB, free: 26.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.234e-05/0.008849, allocations: 150.6 kB / 0.5489 GB, free: 25.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.008863, allocations: 29.7 kB / 0.549 GB, free: 25.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.701e-05/0.00889, allocations: 104.1 kB / 0.5491 GB, free: 25.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.008918, allocations: 39.67 kB / 0.5491 GB, free: 25.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/0.00897, allocations: 41.64 kB / 0.5491 GB, free: 25.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.769e-05/0.008998, allocations: 322.8 kB / 0.5495 GB, free: 25.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.026e-05/0.009038, allocations: 44.52 kB / 0.5495 GB, free: 25.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.319e-05/0.009101, allocations: 169.4 kB / 0.5497 GB, free: 25.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.344e-05/0.009175, allocations: 83.23 kB / 0.5497 GB, free: 24.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.009177, allocations: 0 / 0.5497 GB, free: 24.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003133/0.01231, allocations: 151.8 kB / 0.5499 GB, free: 24.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.01233, allocations: 33.7 kB / 0.5499 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.01234, allocations: 4 kB / 0.5499 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.755e-06/0.01235, allocations: 0 / 0.5499 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.01247, allocations: 31.92 kB / 0.5499 GB, free: 24.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.01247, allocations: 0 / 0.5499 GB, free: 24.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.755e-05/0.01256, allocations: 19.92 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.01257, allocations: 7.125 kB / 0.55 GB, free: 24.7 MB / 410.7 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 4.841e-05/0.01262, allocations: 116.7 kB / 0.5501 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.01264, allocations: 19.92 kB / 0.5501 GB, free: 24.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.01276, allocations: 102.4 kB / 0.5502 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01276, allocations: 0 / 0.5502 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.01276, allocations: 0 / 0.5502 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01276, allocations: 0 / 0.5502 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.707e-05/0.01285, allocations: 101.8 kB / 0.5503 GB, free: 24.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.01285, allocations: 0 / 0.5503 GB, free: 24.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.975e-05/0.01294, allocations: 23.98 kB / 0.5503 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.01296, allocations: 15.94 kB / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01296, allocations: 3.938 kB / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.01297, allocations: 0 / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.01297, allocations: 0 / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01298, allocations: 4 kB / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.01312, allocations: 143.2 kB / 0.5505 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.01315, allocations: 11.92 kB / 0.5505 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.184e-05/0.01321, allocations: 8 kB / 0.5505 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.01325, allocations: 11.97 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.01325, allocations: 11.06 kB / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.373e-05/0.01329, allocations: 42.5 kB / 0.5506 GB, free: 24.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01329, allocations: 0 / 0.5506 GB, free: 24.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001748/0.01346, allocations: 32 kB / 0.5506 GB, free: 24.01 MB / 410.7 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 7.789e-05/0.01354, allocations: 84.45 kB / 0.5507 GB, free: 23.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.01368, allocations: 150 kB / 0.5508 GB, free: 23.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.01368, allocations: 4 kB / 0.5508 GB, free: 23.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.459e-05/0.01372, allocations: 32.78 kB / 0.5509 GB, free: 23.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.01389, allocations: 51.95 kB / 0.5509 GB, free: 23.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/0.01736, allocations: 387.9 kB / 0.5513 GB, free: 23.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.346e-05/0.0174, allocations: 97.8 kB / 0.5514 GB, free: 23.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.01755, allocations: 95.28 kB / 0.5515 GB, free: 23.04 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01755, allocations: 0 / 0.5515 GB, free: 23.04 MB / 410.7 MB Notification: Performance of Templates: time 0.002444/0.02, allocations: 2.045 MB / 0.5535 GB, free: 21.03 MB / 410.7 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: 4.144942165352404]