Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference.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.000737/0.000737, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009387/0.001676, allocations: 435.8 kB / 10.31 MB, free: 384 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.0007094/0.0007094, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008874/0.001597, allocations: 463.6 kB / 11.65 MB, free: 2.516 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 1.027/1.027, allocations: 177.1 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1103/1.138, allocations: 53.67 MB / 243.2 MB, free: 15.58 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.806/0.806, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02871/0.8347, allocations: 21.05 MB / 0.5431 GB, free: 31.95 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.CadmiumChloride.CadmiumChloride_Matsuno1991_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112e-05/1.265e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference): time 0.0016/0.001613, allocations: 1.937 MB / 0.5464 GB, free: 28.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005817/0.002195, allocations: 0.5745 MB / 0.5469 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.00224, allocations: 0 / 0.5469 GB, free: 28.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.225e-05/0.002282, allocations: 11.86 kB / 0.547 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000219/0.002501, allocations: 71.47 kB / 0.547 GB, free: 27.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.002656, allocations: 67.77 kB / 0.5471 GB, free: 27.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.002851, allocations: 168 kB / 0.5472 GB, free: 27.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.002889, allocations: 5.969 kB / 0.5473 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.003066, allocations: 111.8 kB / 0.5474 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.003261, allocations: 79.77 kB / 0.5474 GB, free: 27.53 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.003287, allocations: 4 kB / 0.5474 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.415e-05/0.003311, allocations: 8 kB / 0.5474 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.023e-05/0.003361, allocations: 27.92 kB / 0.5475 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.329e-05/0.003415, allocations: 27.94 kB / 0.5475 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.003541, allocations: 75.7 kB / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.296e-05/0.003554, allocations: 3.938 kB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003555, allocations: 0 / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.003565, 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.0005099/0.004075, allocations: 388.1 kB / 0.5479 GB, free: 26.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.754e-05/0.004103, allocations: 11.89 kB / 0.548 GB, free: 26.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.009e-05/0.004143, allocations: 16.92 kB / 0.548 GB, free: 26.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.004259, allocations: 154.8 kB / 0.5481 GB, free: 26.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.004277, allocations: 12.38 kB / 0.5481 GB, free: 26.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.004296, allocations: 4.375 kB / 0.5481 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.004415, allocations: 84.94 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.004423, allocations: 3.938 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.004433, allocations: 4 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.004438, allocations: 0 / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.686e-05/0.004495, allocations: 23.98 kB / 0.5482 GB, free: 26.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000254/0.004749, allocations: 197.9 kB / 0.5484 GB, free: 26.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.004849, allocations: 126.8 kB / 0.5486 GB, free: 26.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.378e-05/0.004873, allocations: 16.84 kB / 0.5486 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.004885, allocations: 4 kB / 0.5486 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.601e-05/0.004981, allocations: 90.23 kB / 0.5487 GB, free: 26.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.004982, allocations: 0 / 0.5487 GB, free: 26.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001238/0.005106, allocations: 93.58 kB / 0.5488 GB, free: 26.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.969e-05/0.005126, allocations: 55.41 kB / 0.5488 GB, free: 26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.57e-05/0.005181, allocations: 138.7 kB / 0.5489 GB, free: 25.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.005195, allocations: 33.7 kB / 0.549 GB, free: 25.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.723e-05/0.005222, allocations: 100.3 kB / 0.5491 GB, free: 25.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.005245, allocations: 43.61 kB / 0.5491 GB, free: 25.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.005284, allocations: 49.58 kB / 0.5492 GB, free: 25.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.095e-05/0.005315, allocations: 322.8 kB / 0.5495 GB, free: 25.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.299e-05/0.005348, allocations: 48.52 kB / 0.5495 GB, free: 25.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.396e-05/0.005402, allocations: 158.1 kB / 0.5497 GB, free: 25.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.654e-05/0.005458, allocations: 82.81 kB / 0.5497 GB, free: 24.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.00546, allocations: 4 kB / 0.5497 GB, free: 24.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.137e-05/0.005551, allocations: 147.8 kB / 0.5499 GB, free: 24.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/0.005585, allocations: 37.69 kB / 0.5499 GB, free: 24.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.005589, allocations: 4 kB / 0.5499 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.005599, allocations: 0 / 0.5499 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.005701, allocations: 27.98 kB / 0.5499 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.005704, allocations: 4 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.762e-05/0.005771, allocations: 15.98 kB / 0.55 GB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.005779, allocations: 0 / 0.55 GB, free: 24.69 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.558e-05/0.005825, allocations: 124.5 kB / 0.5501 GB, free: 24.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.005838, allocations: 19.92 kB / 0.5501 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.862e-05/0.005936, allocations: 98.42 kB / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.005938, allocations: 0 / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.00594, allocations: 0 / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.005944, allocations: 4 kB / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.769e-05/0.006011, allocations: 101.1 kB / 0.5503 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.006012, allocations: 0 / 0.5503 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.144e-05/0.006084, allocations: 31.92 kB / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.348e-05/0.006097, allocations: 11.94 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.006099, allocations: 3.938 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.00611, allocations: 0 / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.006111, allocations: 4 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.006112, allocations: 4 kB / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.006242, allocations: 130.7 kB / 0.5505 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.006262, allocations: 7.938 kB / 0.5505 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.562e-05/0.006307, allocations: 11.98 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.006345, allocations: 11.97 kB / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.00635, allocations: 4 kB / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.745e-05/0.006378, allocations: 51.05 kB / 0.5506 GB, free: 24.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006378, allocations: 0 / 0.5506 GB, free: 24.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001078/0.006486, allocations: 32 kB / 0.5506 GB, free: 24 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 5.901e-05/0.006545, allocations: 88.42 kB / 0.5507 GB, free: 23.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.006659, allocations: 154.6 kB / 0.5508 GB, free: 23.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.006662, allocations: 0 / 0.5508 GB, free: 23.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.653e-05/0.006699, allocations: 40.84 kB / 0.5509 GB, free: 23.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.006832, allocations: 53.38 kB / 0.5509 GB, free: 23.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.009253, allocations: 362.2 kB / 0.5513 GB, free: 23.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.213e-05/0.009276, allocations: 67.84 kB / 0.5513 GB, free: 23.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.238e-05/0.009328, allocations: 17.48 kB / 0.5513 GB, free: 23.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.987e-05/0.009428, allocations: 91.34 kB / 0.5514 GB, free: 23.07 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009428, allocations: 0 / 0.5514 GB, free: 23.07 MB / 410.7 MB Notification: Performance of Templates: time 0.003573/0.013, allocations: 2.745 MB / 0.5541 GB, free: 20.39 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3245776621624827]